diff --git a/test/tint/builtins/gen/gen.wgsl.tmpl b/test/tint/builtins/gen/gen.wgsl.tmpl index 3f07541061..29a73f5ee3 100644 --- a/test/tint/builtins/gen/gen.wgsl.tmpl +++ b/test/tint/builtins/gen/gen.wgsl.tmpl @@ -269,8 +269,8 @@ enable f16; {{- /* If the parameter has the name 'level', then use '0' as the value. */ -}} {{- /* Some texture arguments require the level parameter to be 0, and */ -}} {{- /* constraint is not described in the definition file. */ -}} -{{- if eq .Name "level" -}}0 -{{- else -}}1 +{{- if eq .Name "level" -}}0i +{{- else -}}1i {{- end -}} {{- else if eq $ty.Target.Name "u32" -}}1u {{- else if eq $ty.Target.Name "f32" -}}1.f diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl index 80f4e9e99a..29bcc7c0ec 100644 --- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl +++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl @@ -23,7 +23,7 @@ // fn abs(i32) -> i32 fn abs_4ad288() { - var res: i32 = abs(1); + var res: i32 = abs(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.wgsl index 7c47bf87a7..9c758faf25 100644 --- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_4ad288() { - var res : i32 = abs(1); + var res : i32 = abs(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl index 42f58a81ff..e13e9c04e1 100644 --- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl +++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<3, i32>) -> vec<3, i32> fn abs_5ad50a() { - var res: vec3 = abs(vec3(1)); + var res: vec3 = abs(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.wgsl index e76207127f..842bd73526 100644 --- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_5ad50a() { - var res : vec3 = abs(vec3(1)); + var res : vec3 = abs(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl index 8dcf3102ec..c8bf4be1f0 100644 --- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl +++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<2, i32>) -> vec<2, i32> fn abs_7faa9e() { - var res: vec2 = abs(vec2(1)); + var res: vec2 = abs(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.wgsl index 7c3f4b4776..89041340a4 100644 --- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_7faa9e() { - var res : vec2 = abs(vec2(1)); + var res : vec2 = abs(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl index 05f1094c43..1060a7850e 100644 --- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl +++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<4, i32>) -> vec<4, i32> fn abs_9c80a6() { - var res: vec4 = abs(vec4(1)); + var res: vec4 = abs(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.wgsl index 029f98e152..ed661527e3 100644 --- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_9c80a6() { - var res : vec4 = abs(vec4(1)); + var res : vec4 = abs(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl index 71d03bd076..c0fe30868a 100644 --- a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl +++ b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicAdd(ptr, read_write>, i32) -> i32 fn atomicAdd_794055() { - var res: i32 = atomicAdd(&arg_0, 1); + var res: i32 = atomicAdd(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.wgsl index ce52b8fc2d..92fbdcbbf8 100644 --- a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicAdd_794055() { - var res : i32 = atomicAdd(&(arg_0), 1); + var res : i32 = atomicAdd(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl index 9fecf87f45..040364fbe6 100644 --- a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl +++ b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicAdd(ptr, read_write>, i32) -> i32 fn atomicAdd_d32fe4() { - var res: i32 = atomicAdd(&sb_rw.arg_0, 1); + var res: i32 = atomicAdd(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.wgsl index 4303284003..7e8d047a71 100644 --- a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicAdd_d32fe4() { - var res : i32 = atomicAdd(&(sb_rw.arg_0), 1); + var res : i32 = atomicAdd(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl index 765df97a21..4db2cd6b39 100644 --- a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl +++ b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicAnd(ptr, read_write>, i32) -> i32 fn atomicAnd_152966() { - var res: i32 = atomicAnd(&sb_rw.arg_0, 1); + var res: i32 = atomicAnd(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.wgsl index 38d19dde53..1a2882c0fe 100644 --- a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicAnd_152966() { - var res : i32 = atomicAnd(&(sb_rw.arg_0), 1); + var res : i32 = atomicAnd(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl index 392a22e6ea..6cb189c1c2 100644 --- a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl +++ b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicAnd(ptr, read_write>, i32) -> i32 fn atomicAnd_45a819() { - var res: i32 = atomicAnd(&arg_0, 1); + var res: i32 = atomicAnd(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.wgsl index a93b45a050..2dc54ed675 100644 --- a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicAnd_45a819() { - var res : i32 = atomicAnd(&(arg_0), 1); + var res : i32 = atomicAnd(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl index 8a738d42dd..859fc31e08 100644 --- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl +++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicCompareExchangeWeak(ptr, read_write>, i32, i32) -> __atomic_compare_exchange_result fn atomicCompareExchangeWeak_1bd40a() { - var res = atomicCompareExchangeWeak(&sb_rw.arg_0, 1, 1); + var res = atomicCompareExchangeWeak(&sb_rw.arg_0, 1i, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl index d52ac19ec4..5d1d59967a 100644 --- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicCompareExchangeWeak_1bd40a() { - var res = atomicCompareExchangeWeak(&(sb_rw.arg_0), 1, 1); + var res = atomicCompareExchangeWeak(&(sb_rw.arg_0), 1i, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl index dd6cf84e9d..3d2b0670bd 100644 --- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl +++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicCompareExchangeWeak(ptr, read_write>, i32, i32) -> __atomic_compare_exchange_result fn atomicCompareExchangeWeak_e88938() { - var res = atomicCompareExchangeWeak(&arg_0, 1, 1); + var res = atomicCompareExchangeWeak(&arg_0, 1i, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl index d79317dd77..b5336a41ec 100644 --- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicCompareExchangeWeak_e88938() { - var res = atomicCompareExchangeWeak(&(arg_0), 1, 1); + var res = atomicCompareExchangeWeak(&(arg_0), 1i, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl index d43ce44bf1..919bdd69b1 100644 --- a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl +++ b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicExchange(ptr, read_write>, i32) -> i32 fn atomicExchange_e114ba() { - var res: i32 = atomicExchange(&arg_0, 1); + var res: i32 = atomicExchange(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.wgsl index 785a006c64..381857a8c2 100644 --- a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicExchange_e114ba() { - var res : i32 = atomicExchange(&(arg_0), 1); + var res : i32 = atomicExchange(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl index 0aa2f620ba..3dfef46552 100644 --- a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl +++ b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicExchange(ptr, read_write>, i32) -> i32 fn atomicExchange_f2e22f() { - var res: i32 = atomicExchange(&sb_rw.arg_0, 1); + var res: i32 = atomicExchange(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.wgsl index 4b473d29d5..654a73db2c 100644 --- a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicExchange_f2e22f() { - var res : i32 = atomicExchange(&(sb_rw.arg_0), 1); + var res : i32 = atomicExchange(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl index 14c6da0694..602f72fbc0 100644 --- a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl +++ b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicMax(ptr, read_write>, i32) -> i32 fn atomicMax_92aa72() { - var res: i32 = atomicMax(&sb_rw.arg_0, 1); + var res: i32 = atomicMax(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.wgsl index ead8895279..f4264d3c23 100644 --- a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicMax_92aa72() { - var res : i32 = atomicMax(&(sb_rw.arg_0), 1); + var res : i32 = atomicMax(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl index 54d1a7d4c2..ff0ad24c84 100644 --- a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl +++ b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicMax(ptr, read_write>, i32) -> i32 fn atomicMax_a89cc3() { - var res: i32 = atomicMax(&arg_0, 1); + var res: i32 = atomicMax(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.wgsl index 80c0ae1dc7..1a4ea13013 100644 --- a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicMax_a89cc3() { - var res : i32 = atomicMax(&(arg_0), 1); + var res : i32 = atomicMax(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl index 7d658b5776..504d4a3148 100644 --- a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl +++ b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicMin(ptr, read_write>, i32) -> i32 fn atomicMin_278235() { - var res: i32 = atomicMin(&arg_0, 1); + var res: i32 = atomicMin(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.wgsl index 9619e26b15..1cea2b90d4 100644 --- a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicMin_278235() { - var res : i32 = atomicMin(&(arg_0), 1); + var res : i32 = atomicMin(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl index 51a59ced37..e400aafb6d 100644 --- a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl +++ b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicMin(ptr, read_write>, i32) -> i32 fn atomicMin_8e38dc() { - var res: i32 = atomicMin(&sb_rw.arg_0, 1); + var res: i32 = atomicMin(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.wgsl index 7b649669ed..c65f7125e2 100644 --- a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicMin_8e38dc() { - var res : i32 = atomicMin(&(sb_rw.arg_0), 1); + var res : i32 = atomicMin(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl index eb3bce7ee4..8e510dd7fe 100644 --- a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl +++ b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicOr(ptr, read_write>, i32) -> i32 fn atomicOr_8d96a0() { - var res: i32 = atomicOr(&sb_rw.arg_0, 1); + var res: i32 = atomicOr(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.wgsl index 9cae8d3563..e883b7e03e 100644 --- a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicOr_8d96a0() { - var res : i32 = atomicOr(&(sb_rw.arg_0), 1); + var res : i32 = atomicOr(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl index c5734d8efd..20f5f21b3d 100644 --- a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl +++ b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicOr(ptr, read_write>, i32) -> i32 fn atomicOr_d09248() { - var res: i32 = atomicOr(&arg_0, 1); + var res: i32 = atomicOr(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.wgsl index 38bb4627ce..51a6036efb 100644 --- a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicOr_d09248() { - var res : i32 = atomicOr(&(arg_0), 1); + var res : i32 = atomicOr(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl index bed87929f0..8dcf7e952d 100644 --- a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl +++ b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicStore(ptr, read_write>, i32) fn atomicStore_8bea94() { - atomicStore(&arg_0, 1); + atomicStore(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.wgsl index a2394c20ea..64d661fafc 100644 --- a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicStore_8bea94() { - atomicStore(&(arg_0), 1); + atomicStore(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl index 72876763da..aa2a7f3a24 100644 --- a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl +++ b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicStore(ptr, read_write>, i32) fn atomicStore_d1e9a6() { - atomicStore(&sb_rw.arg_0, 1); + atomicStore(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.wgsl index e7c02a6cd8..cc8845b01e 100644 --- a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicStore_d1e9a6() { - atomicStore(&(sb_rw.arg_0), 1); + atomicStore(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl index a5584b3bf2..e52d52a497 100644 --- a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl +++ b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicSub(ptr, read_write>, i32) -> i32 fn atomicSub_051100() { - var res: i32 = atomicSub(&sb_rw.arg_0, 1); + var res: i32 = atomicSub(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.wgsl index 539fd24935..cf67226a92 100644 --- a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicSub_051100() { - var res : i32 = atomicSub(&(sb_rw.arg_0), 1); + var res : i32 = atomicSub(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl index 93a1ced577..3996ba12f9 100644 --- a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl +++ b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicSub(ptr, read_write>, i32) -> i32 fn atomicSub_77883a() { - var res: i32 = atomicSub(&arg_0, 1); + var res: i32 = atomicSub(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.wgsl index 3443f94c5f..6521e29137 100644 --- a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicSub_77883a() { - var res : i32 = atomicSub(&(arg_0), 1); + var res : i32 = atomicSub(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl index 6e384a03f0..0a64c779c9 100644 --- a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl +++ b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicXor(ptr, read_write>, i32) -> i32 fn atomicXor_75dc95() { - var res: i32 = atomicXor(&arg_0, 1); + var res: i32 = atomicXor(&arg_0, 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.wgsl index 30add298d5..41f5b3fa93 100644 --- a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicXor_75dc95() { - var res : i32 = atomicXor(&(arg_0), 1); + var res : i32 = atomicXor(&(arg_0), 1i); } @compute @workgroup_size(1) diff --git a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl index 1e2e4dbc52..2846a691bc 100644 --- a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl +++ b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicXor(ptr, read_write>, i32) -> i32 fn atomicXor_c1b78c() { - var res: i32 = atomicXor(&sb_rw.arg_0, 1); + var res: i32 = atomicXor(&sb_rw.arg_0, 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.wgsl index c63962c52a..af9861c28e 100644 --- a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicXor_c1b78c() { - var res : i32 = atomicXor(&(sb_rw.arg_0), 1); + var res : i32 = atomicXor(&(sb_rw.arg_0), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl index 38d9b0052f..7571db5c88 100644 --- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl +++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl @@ -23,7 +23,7 @@ // fn clamp(vec<4, i32>, vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn clamp_1a32e3() { - var res: vec4 = clamp(vec4(1), vec4(1), vec4(1)); + var res: vec4 = clamp(vec4(1i), vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.wgsl index cfd0a482f0..ea0c8eab2b 100644 --- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn clamp_1a32e3() { - var res : vec4 = clamp(vec4(1), vec4(1), vec4(1)); + var res : vec4 = clamp(vec4(1i), vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl index 8ce5387f7b..4a93eb9137 100644 --- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl +++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl @@ -23,7 +23,7 @@ // fn clamp(vec<3, i32>, vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn clamp_5f0819() { - var res: vec3 = clamp(vec3(1), vec3(1), vec3(1)); + var res: vec3 = clamp(vec3(1i), vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.wgsl index 84b9e1df0a..71062f518f 100644 --- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn clamp_5f0819() { - var res : vec3 = clamp(vec3(1), vec3(1), vec3(1)); + var res : vec3 = clamp(vec3(1i), vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl index aa4c2cced7..15f8d67923 100644 --- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl +++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl @@ -23,7 +23,7 @@ // fn clamp(vec<2, i32>, vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn clamp_6c1749() { - var res: vec2 = clamp(vec2(1), vec2(1), vec2(1)); + var res: vec2 = clamp(vec2(1i), vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.wgsl index 3e5ebf5edf..fdbd4b89ac 100644 --- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn clamp_6c1749() { - var res : vec2 = clamp(vec2(1), vec2(1), vec2(1)); + var res : vec2 = clamp(vec2(1i), vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl index dd386b8f16..cc28c92ef4 100644 --- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl +++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl @@ -23,7 +23,7 @@ // fn clamp(i32, i32, i32) -> i32 fn clamp_b07c65() { - var res: i32 = clamp(1, 1, 1); + var res: i32 = clamp(1i, 1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.wgsl index 2ad022bfd4..0251ae944c 100644 --- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn clamp_b07c65() { - var res : i32 = clamp(1, 1, 1); + var res : i32 = clamp(1i, 1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl index d14ab0d28d..af8a9e1e4e 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(i32) -> i32 fn countLeadingZeros_6d4656() { - var res: i32 = countLeadingZeros(1); + var res: i32 = countLeadingZeros(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.wgsl index cc35ad5d80..8c2d7e6e55 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_6d4656() { - var res : i32 = countLeadingZeros(1); + var res : i32 = countLeadingZeros(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl index 184970a0c3..3d3f5e6299 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<3, i32>) -> vec<3, i32> fn countLeadingZeros_7c38a6() { - var res: vec3 = countLeadingZeros(vec3(1)); + var res: vec3 = countLeadingZeros(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.wgsl index 59dff9117b..731b32ca8c 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_7c38a6() { - var res : vec3 = countLeadingZeros(vec3(1)); + var res : vec3 = countLeadingZeros(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl index 8713edef30..c5bc990f8e 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<2, i32>) -> vec<2, i32> fn countLeadingZeros_858d40() { - var res: vec2 = countLeadingZeros(vec2(1)); + var res: vec2 = countLeadingZeros(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.wgsl index 632c168826..3f84df2ef6 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_858d40() { - var res : vec2 = countLeadingZeros(vec2(1)); + var res : vec2 = countLeadingZeros(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl index 0e381d1cba..e95fe6c40a 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<4, i32>) -> vec<4, i32> fn countLeadingZeros_eab32b() { - var res: vec4 = countLeadingZeros(vec4(1)); + var res: vec4 = countLeadingZeros(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.wgsl index 08ee7ea057..8b87b665a0 100644 --- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_eab32b() { - var res : vec4 = countLeadingZeros(vec4(1)); + var res : vec4 = countLeadingZeros(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl index ce85eab9ea..58cd5322d3 100644 --- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<4, i32>) -> vec<4, i32> fn countOneBits_0f7980() { - var res: vec4 = countOneBits(vec4(1)); + var res: vec4 = countOneBits(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.wgsl index 5e2cb7a782..0343194746 100644 --- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_0f7980() { - var res : vec4 = countOneBits(vec4(1)); + var res : vec4 = countOneBits(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl index 5fcbe0412f..8d553980a4 100644 --- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<3, i32>) -> vec<3, i32> fn countOneBits_65d2ae() { - var res: vec3 = countOneBits(vec3(1)); + var res: vec3 = countOneBits(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.wgsl index 5de2da7d29..eacc7e7e17 100644 --- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_65d2ae() { - var res : vec3 = countOneBits(vec3(1)); + var res : vec3 = countOneBits(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl index c1c6e88dab..54e5705a5a 100644 --- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<2, i32>) -> vec<2, i32> fn countOneBits_af90e2() { - var res: vec2 = countOneBits(vec2(1)); + var res: vec2 = countOneBits(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.wgsl index 6caee65d06..82b01c880e 100644 --- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_af90e2() { - var res : vec2 = countOneBits(vec2(1)); + var res : vec2 = countOneBits(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl index 41efb7e59f..65a80c6b89 100644 --- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(i32) -> i32 fn countOneBits_fd88b2() { - var res: i32 = countOneBits(1); + var res: i32 = countOneBits(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.wgsl index 9f8ef5f33d..0d6dc81e0f 100644 --- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_fd88b2() { - var res : i32 = countOneBits(1); + var res : i32 = countOneBits(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl index 9a342c3296..98c65c7609 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<4, i32>) -> vec<4, i32> fn countTrailingZeros_1dc84a() { - var res: vec4 = countTrailingZeros(vec4(1)); + var res: vec4 = countTrailingZeros(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.wgsl index 2beaa556ab..5de34cdcc2 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_1dc84a() { - var res : vec4 = countTrailingZeros(vec4(1)); + var res : vec4 = countTrailingZeros(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl index 2c4afa2972..54de9aa8d5 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<2, i32>) -> vec<2, i32> fn countTrailingZeros_327c37() { - var res: vec2 = countTrailingZeros(vec2(1)); + var res: vec2 = countTrailingZeros(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.wgsl index 4ae6604c86..ccf51afa75 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_327c37() { - var res : vec2 = countTrailingZeros(vec2(1)); + var res : vec2 = countTrailingZeros(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl index 4753eb9936..a8780cf914 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(i32) -> i32 fn countTrailingZeros_42fed6() { - var res: i32 = countTrailingZeros(1); + var res: i32 = countTrailingZeros(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.wgsl index e277113671..56496377f3 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_42fed6() { - var res : i32 = countTrailingZeros(1); + var res : i32 = countTrailingZeros(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl index 8b2994b215..6ebcf30005 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<3, i32>) -> vec<3, i32> fn countTrailingZeros_acfacb() { - var res: vec3 = countTrailingZeros(vec3(1)); + var res: vec3 = countTrailingZeros(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.wgsl index 147489f895..59d13b8dbc 100644 --- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_acfacb() { - var res : vec3 = countTrailingZeros(vec3(1)); + var res : vec3 = countTrailingZeros(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl index d480c0836e..eb364f72c8 100644 --- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl +++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl @@ -23,7 +23,7 @@ // fn dot(vec<4, i32>, vec<4, i32>) -> i32 fn dot_ef6b1d() { - var res: i32 = dot(vec4(1), vec4(1)); + var res: i32 = dot(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.wgsl index 6f8f382031..e29bd2b7ce 100644 --- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn dot_ef6b1d() { - var res : i32 = dot(vec4(1), vec4(1)); + var res : i32 = dot(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl index 9d185e8186..40db68510e 100644 --- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl +++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl @@ -23,7 +23,7 @@ // fn dot(vec<3, i32>, vec<3, i32>) -> i32 fn dot_f1312c() { - var res: i32 = dot(vec3(1), vec3(1)); + var res: i32 = dot(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.wgsl index 0550c5503c..8183602174 100644 --- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn dot_f1312c() { - var res : i32 = dot(vec3(1), vec3(1)); + var res : i32 = dot(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl index 90006c0866..e10986eec5 100644 --- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl +++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl @@ -23,7 +23,7 @@ // fn dot(vec<2, i32>, vec<2, i32>) -> i32 fn dot_fc5f7c() { - var res: i32 = dot(vec2(1), vec2(1)); + var res: i32 = dot(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.wgsl index d1dd491ff6..e301ec5be4 100644 --- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn dot_fc5f7c() { - var res : i32 = dot(vec2(1), vec2(1)); + var res : i32 = dot(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl index bf8c4cdbba..3f1e4a7740 100644 --- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl @@ -23,7 +23,7 @@ // fn extractBits(i32, u32, u32) -> i32 fn extractBits_249874() { - var res: i32 = extractBits(1, 1u, 1u); + var res: i32 = extractBits(1i, 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.wgsl index 7abbd3635a..ddc5e5d31d 100644 --- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_249874() { - var res : i32 = extractBits(1, 1u, 1u); + var res : i32 = extractBits(1i, 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl index 244ece18a4..be0361d6de 100644 --- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<2, i32>, u32, u32) -> vec<2, i32> fn extractBits_a99a8d() { - var res: vec2 = extractBits(vec2(1), 1u, 1u); + var res: vec2 = extractBits(vec2(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.wgsl index 17c6f49300..fc8ab5cdb1 100644 --- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_a99a8d() { - var res : vec2 = extractBits(vec2(1), 1u, 1u); + var res : vec2 = extractBits(vec2(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl index 2cc23a3af7..4fc72938f8 100644 --- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<3, i32>, u32, u32) -> vec<3, i32> fn extractBits_e04f5d() { - var res: vec3 = extractBits(vec3(1), 1u, 1u); + var res: vec3 = extractBits(vec3(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.wgsl index 73a0526b23..dadc3e4fb7 100644 --- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_e04f5d() { - var res : vec3 = extractBits(vec3(1), 1u, 1u); + var res : vec3 = extractBits(vec3(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl index ab7ac0faaa..821ef14cb6 100644 --- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<4, i32>, u32, u32) -> vec<4, i32> fn extractBits_fb850f() { - var res: vec4 = extractBits(vec4(1), 1u, 1u); + var res: vec4 = extractBits(vec4(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.wgsl index 33f8b70d97..9d3b0e29a0 100644 --- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_fb850f() { - var res : vec4 = extractBits(vec4(1), 1u, 1u); + var res : vec4 = extractBits(vec4(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl index f8524b99a1..262fd62e1a 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<3, i32>) -> vec<3, i32> fn firstLeadingBit_35053e() { - var res: vec3 = firstLeadingBit(vec3(1)); + var res: vec3 = firstLeadingBit(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.wgsl index 5e32586741..6cd97a336b 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_35053e() { - var res : vec3 = firstLeadingBit(vec3(1)); + var res : vec3 = firstLeadingBit(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl index afcf879bc6..5f7ff62b4d 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(i32) -> i32 fn firstLeadingBit_57a1a3() { - var res: i32 = firstLeadingBit(1); + var res: i32 = firstLeadingBit(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.wgsl index e26678f779..71b97c55bc 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_57a1a3() { - var res : i32 = firstLeadingBit(1); + var res : i32 = firstLeadingBit(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl index 90a49df0e4..1b0795c6b2 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<2, i32>) -> vec<2, i32> fn firstLeadingBit_a622c2() { - var res: vec2 = firstLeadingBit(vec2(1)); + var res: vec2 = firstLeadingBit(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.wgsl index 469ca78410..5c52c9bceb 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_a622c2() { - var res : vec2 = firstLeadingBit(vec2(1)); + var res : vec2 = firstLeadingBit(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl index f52b0059a0..4d6f56de9f 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<4, i32>) -> vec<4, i32> fn firstLeadingBit_c1f940() { - var res: vec4 = firstLeadingBit(vec4(1)); + var res: vec4 = firstLeadingBit(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.wgsl index f9e47414d1..d80d8224d0 100644 --- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_c1f940() { - var res : vec4 = firstLeadingBit(vec4(1)); + var res : vec4 = firstLeadingBit(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl index f595902828..7e93a607a4 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(i32) -> i32 fn firstTrailingBit_3a2acc() { - var res: i32 = firstTrailingBit(1); + var res: i32 = firstTrailingBit(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.wgsl index e6b7e95dd7..10458dda81 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_3a2acc() { - var res : i32 = firstTrailingBit(1); + var res : i32 = firstTrailingBit(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl index e6f819cb84..6a2da897e4 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<2, i32>) -> vec<2, i32> fn firstTrailingBit_50c072() { - var res: vec2 = firstTrailingBit(vec2(1)); + var res: vec2 = firstTrailingBit(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.wgsl index 3f1b31245e..b54afcc78e 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_50c072() { - var res : vec2 = firstTrailingBit(vec2(1)); + var res : vec2 = firstTrailingBit(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl index 283f9c3915..d01c02be38 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<3, i32>) -> vec<3, i32> fn firstTrailingBit_7496d6() { - var res: vec3 = firstTrailingBit(vec3(1)); + var res: vec3 = firstTrailingBit(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.wgsl index 0786fc72a7..60cb2f56cc 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_7496d6() { - var res : vec3 = firstTrailingBit(vec3(1)); + var res : vec3 = firstTrailingBit(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl index dc00072e0a..0a0551a9c1 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<4, i32>) -> vec<4, i32> fn firstTrailingBit_86551b() { - var res: vec4 = firstTrailingBit(vec4(1)); + var res: vec4 = firstTrailingBit(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.wgsl index 9bfaaf71f2..2b43f9d285 100644 --- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_86551b() { - var res : vec4 = firstTrailingBit(vec4(1)); + var res : vec4 = firstTrailingBit(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl index af4256ee83..75bee4f142 100644 --- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl @@ -23,7 +23,7 @@ // fn insertBits(vec<3, i32>, vec<3, i32>, u32, u32) -> vec<3, i32> fn insertBits_428b0b() { - var res: vec3 = insertBits(vec3(1), vec3(1), 1u, 1u); + var res: vec3 = insertBits(vec3(1i), vec3(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.wgsl index 56e7e062cb..cbf84f0a62 100644 --- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn insertBits_428b0b() { - var res : vec3 = insertBits(vec3(1), vec3(1), 1u, 1u); + var res : vec3 = insertBits(vec3(1i), vec3(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl index 9b659d8c29..d97a36541a 100644 --- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl @@ -23,7 +23,7 @@ // fn insertBits(i32, i32, u32, u32) -> i32 fn insertBits_65468b() { - var res: i32 = insertBits(1, 1, 1u, 1u); + var res: i32 = insertBits(1i, 1i, 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.wgsl index ef26bedf8b..ae4e3b20cc 100644 --- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn insertBits_65468b() { - var res : i32 = insertBits(1, 1, 1u, 1u); + var res : i32 = insertBits(1i, 1i, 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl index 5657dd88dc..ca1e79939d 100644 --- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl @@ -23,7 +23,7 @@ // fn insertBits(vec<4, i32>, vec<4, i32>, u32, u32) -> vec<4, i32> fn insertBits_d86978() { - var res: vec4 = insertBits(vec4(1), vec4(1), 1u, 1u); + var res: vec4 = insertBits(vec4(1i), vec4(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.wgsl index 92b7cfec48..baa7afbb5e 100644 --- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn insertBits_d86978() { - var res : vec4 = insertBits(vec4(1), vec4(1), 1u, 1u); + var res : vec4 = insertBits(vec4(1i), vec4(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl index d8967307a7..f47083ec61 100644 --- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl @@ -23,7 +23,7 @@ // fn insertBits(vec<2, i32>, vec<2, i32>, u32, u32) -> vec<2, i32> fn insertBits_fe6ba6() { - var res: vec2 = insertBits(vec2(1), vec2(1), 1u, 1u); + var res: vec2 = insertBits(vec2(1i), vec2(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.wgsl index 04bee6f7e0..521866bdbe 100644 --- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn insertBits_fe6ba6() { - var res : vec2 = insertBits(vec2(1), vec2(1), 1u, 1u); + var res : vec2 = insertBits(vec2(1i), vec2(1i), 1u, 1u); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl index bed22e2812..69dc8b4f97 100644 --- a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl @@ -25,7 +25,7 @@ enable f16; // fn ldexp(vec<2, f16>, vec<2, i32>) -> vec<2, f16> fn ldexp_3d90b4() { - var res: vec2 = ldexp(vec2(f16()), vec2(1)); + var res: vec2 = ldexp(vec2(f16()), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.wgsl index cacab9eb7a..c41562f2f9 100644 --- a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ enable f16; fn ldexp_3d90b4() { - var res : vec2 = ldexp(vec2(f16()), vec2(1)); + var res : vec2 = ldexp(vec2(f16()), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl index 24f8054a57..5fde9f3417 100644 --- a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl @@ -25,7 +25,7 @@ enable f16; // fn ldexp(f16, i32) -> f16 fn ldexp_624e0c() { - var res: f16 = ldexp(f16(), 1); + var res: f16 = ldexp(f16(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.wgsl index 1d6ebc8418..9eebbaee2a 100644 --- a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ enable f16; fn ldexp_624e0c() { - var res : f16 = ldexp(f16(), 1); + var res : f16 = ldexp(f16(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl index 01a4e811c7..b6e104ba88 100644 --- a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl @@ -25,7 +25,7 @@ enable f16; // fn ldexp(vec<3, f16>, vec<3, i32>) -> vec<3, f16> fn ldexp_7485ce() { - var res: vec3 = ldexp(vec3(f16()), vec3(1)); + var res: vec3 = ldexp(vec3(f16()), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.wgsl index 99f6df264a..8ddaf04d6a 100644 --- a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.wgsl @@ -1,7 +1,7 @@ enable f16; fn ldexp_7485ce() { - var res : vec3 = ldexp(vec3(f16()), vec3(1)); + var res : vec3 = ldexp(vec3(f16()), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl index a79176797c..2e56210797 100644 --- a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl @@ -25,7 +25,7 @@ enable f16; // fn ldexp(vec<4, f16>, vec<4, i32>) -> vec<4, f16> fn ldexp_7fa13c() { - var res: vec4 = ldexp(vec4(f16()), vec4(1)); + var res: vec4 = ldexp(vec4(f16()), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.wgsl index a42ea96349..25b5d9d571 100644 --- a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ enable f16; fn ldexp_7fa13c() { - var res : vec4 = ldexp(vec4(f16()), vec4(1)); + var res : vec4 = ldexp(vec4(f16()), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl index 0460f2399a..b710d66498 100644 --- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl @@ -23,7 +23,7 @@ // fn ldexp(vec<3, f32>, vec<3, i32>) -> vec<3, f32> fn ldexp_a31cdc() { - var res: vec3 = ldexp(vec3(1.f), vec3(1)); + var res: vec3 = ldexp(vec3(1.f), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.wgsl index 920f1c584d..b778a6f137 100644 --- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn ldexp_a31cdc() { - var res : vec3 = ldexp(vec3(1.0f), vec3(1)); + var res : vec3 = ldexp(vec3(1.0f), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl index 1461de3e05..2d0b53ce59 100644 --- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl @@ -23,7 +23,7 @@ // fn ldexp(vec<2, f32>, vec<2, i32>) -> vec<2, f32> fn ldexp_abd718() { - var res: vec2 = ldexp(vec2(1.f), vec2(1)); + var res: vec2 = ldexp(vec2(1.f), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.wgsl index 884585bb7b..1b44f45989 100644 --- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn ldexp_abd718() { - var res : vec2 = ldexp(vec2(1.0f), vec2(1)); + var res : vec2 = ldexp(vec2(1.0f), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl index eb958562ae..a0a138e10a 100644 --- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl @@ -23,7 +23,7 @@ // fn ldexp(vec<4, f32>, vec<4, i32>) -> vec<4, f32> fn ldexp_cc9cde() { - var res: vec4 = ldexp(vec4(1.f), vec4(1)); + var res: vec4 = ldexp(vec4(1.f), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.wgsl index 0d104b6a31..09ac08121a 100644 --- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn ldexp_cc9cde() { - var res : vec4 = ldexp(vec4(1.0f), vec4(1)); + var res : vec4 = ldexp(vec4(1.0f), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl index d85c1b4801..938642a50e 100644 --- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl @@ -23,7 +23,7 @@ // fn ldexp(f32, i32) -> f32 fn ldexp_db8b49() { - var res: f32 = ldexp(1.f, 1); + var res: f32 = ldexp(1.f, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.wgsl index 374a55f47a..5425c5317b 100644 --- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn ldexp_db8b49() { - var res : f32 = ldexp(1.0f, 1); + var res : f32 = ldexp(1.0f, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl index 8a1fe27212..d94c5052aa 100644 --- a/test/tint/builtins/gen/literal/max/25eafe.wgsl +++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl @@ -23,7 +23,7 @@ // fn max(vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn max_25eafe() { - var res: vec3 = max(vec3(1), vec3(1)); + var res: vec3 = max(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.wgsl index 37dfc6438c..ac1fd8b2d7 100644 --- a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn max_25eafe() { - var res : vec3 = max(vec3(1), vec3(1)); + var res : vec3 = max(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl index 6c7703d440..e7129a6ad3 100644 --- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl +++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl @@ -23,7 +23,7 @@ // fn max(vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn max_85e6bc() { - var res: vec4 = max(vec4(1), vec4(1)); + var res: vec4 = max(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.wgsl index 4043b8c612..df2e77df9f 100644 --- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn max_85e6bc() { - var res : vec4 = max(vec4(1), vec4(1)); + var res : vec4 = max(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl index 6698ae05e4..d7adc0a6fb 100644 --- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl +++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl @@ -23,7 +23,7 @@ // fn max(i32, i32) -> i32 fn max_ce7c30() { - var res: i32 = max(1, 1); + var res: i32 = max(1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.wgsl index 68d5a6ecc1..ff0fc81722 100644 --- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn max_ce7c30() { - var res : i32 = max(1, 1); + var res : i32 = max(1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl index 04d8dcd17b..7da69ebedf 100644 --- a/test/tint/builtins/gen/literal/max/e8192f.wgsl +++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl @@ -23,7 +23,7 @@ // fn max(vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn max_e8192f() { - var res: vec2 = max(vec2(1), vec2(1)); + var res: vec2 = max(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.wgsl index 5a9dcfecd9..8931dd70da 100644 --- a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn max_e8192f() { - var res : vec2 = max(vec2(1), vec2(1)); + var res : vec2 = max(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl index cda624942b..e8dca14faf 100644 --- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl +++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl @@ -23,7 +23,7 @@ // fn min(vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn min_03c7e3() { - var res: vec2 = min(vec2(1), vec2(1)); + var res: vec2 = min(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.wgsl index a6dc684075..17f015b0d7 100644 --- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn min_03c7e3() { - var res : vec2 = min(vec2(1), vec2(1)); + var res : vec2 = min(vec2(1i), vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl index fc605ddaf1..8e57a50f25 100644 --- a/test/tint/builtins/gen/literal/min/3941e1.wgsl +++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl @@ -23,7 +23,7 @@ // fn min(vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn min_3941e1() { - var res: vec4 = min(vec4(1), vec4(1)); + var res: vec4 = min(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.wgsl index cf74c05e5e..f131dd9745 100644 --- a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn min_3941e1() { - var res : vec4 = min(vec4(1), vec4(1)); + var res : vec4 = min(vec4(1i), vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl b/test/tint/builtins/gen/literal/min/a45171.wgsl index 38a489a40e..0770ca5a21 100644 --- a/test/tint/builtins/gen/literal/min/a45171.wgsl +++ b/test/tint/builtins/gen/literal/min/a45171.wgsl @@ -23,7 +23,7 @@ // fn min(vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn min_a45171() { - var res: vec3 = min(vec3(1), vec3(1)); + var res: vec3 = min(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.wgsl index 7f1ce9421d..af8954f3fd 100644 --- a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn min_a45171() { - var res : vec3 = min(vec3(1), vec3(1)); + var res : vec3 = min(vec3(1i), vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl b/test/tint/builtins/gen/literal/min/c73147.wgsl index 5f1bdee49f..fb79aecc63 100644 --- a/test/tint/builtins/gen/literal/min/c73147.wgsl +++ b/test/tint/builtins/gen/literal/min/c73147.wgsl @@ -23,7 +23,7 @@ // fn min(i32, i32) -> i32 fn min_c73147() { - var res: i32 = min(1, 1); + var res: i32 = min(1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.wgsl index fa6bec9ca0..b785d30c29 100644 --- a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn min_c73147() { - var res : i32 = min(1, 1); + var res : i32 = min(1i, 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl index 96fa44594a..13fd3867e7 100644 --- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<2, i32>) -> vec<2, i32> fn reverseBits_222177() { - var res: vec2 = reverseBits(vec2(1)); + var res: vec2 = reverseBits(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.wgsl index a42f490e04..a9fa63d2b6 100644 --- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_222177() { - var res : vec2 = reverseBits(vec2(1)); + var res : vec2 = reverseBits(vec2(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl index b238d37d4c..6db47cbb7f 100644 --- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<4, i32>) -> vec<4, i32> fn reverseBits_4dbd6f() { - var res: vec4 = reverseBits(vec4(1)); + var res: vec4 = reverseBits(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.wgsl index c9b184068f..ed7394ea71 100644 --- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_4dbd6f() { - var res : vec4 = reverseBits(vec4(1)); + var res : vec4 = reverseBits(vec4(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl index 1efeee02f9..d67411a75e 100644 --- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(i32) -> i32 fn reverseBits_7c4269() { - var res: i32 = reverseBits(1); + var res: i32 = reverseBits(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.wgsl index 1ce5525aa9..4571a616c9 100644 --- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_7c4269() { - var res : i32 = reverseBits(1); + var res : i32 = reverseBits(1i); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl index e525d7412c..1f71ba88be 100644 --- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<3, i32>) -> vec<3, i32> fn reverseBits_c21bc1() { - var res: vec3 = reverseBits(vec3(1)); + var res: vec3 = reverseBits(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.wgsl index 1446d033dc..ab4d12f0a2 100644 --- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_c21bc1() { - var res : vec3 = reverseBits(vec3(1)); + var res : vec3 = reverseBits(vec3(1i)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl b/test/tint/builtins/gen/literal/select/00b848.wgsl index 9a51adb022..85829b5c6c 100644 --- a/test/tint/builtins/gen/literal/select/00b848.wgsl +++ b/test/tint/builtins/gen/literal/select/00b848.wgsl @@ -23,7 +23,7 @@ // fn select(vec<2, i32>, vec<2, i32>, vec<2, bool>) -> vec<2, i32> fn select_00b848() { - var res: vec2 = select(vec2(1), vec2(1), vec2(true)); + var res: vec2 = select(vec2(1i), vec2(1i), vec2(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.wgsl index 4dc5e7f86c..c43adb3bf3 100644 --- a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_00b848() { - var res : vec2 = select(vec2(1), vec2(1), vec2(true)); + var res : vec2 = select(vec2(1i), vec2(1i), vec2(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl index f40ada0a51..987dbd8684 100644 --- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl +++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl @@ -23,7 +23,7 @@ // fn select(vec<3, i32>, vec<3, i32>, vec<3, bool>) -> vec<3, i32> fn select_01e2cd() { - var res: vec3 = select(vec3(1), vec3(1), vec3(true)); + var res: vec3 = select(vec3(1i), vec3(1i), vec3(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.wgsl index 07187575d3..b85c871131 100644 --- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_01e2cd() { - var res : vec3 = select(vec3(1), vec3(1), vec3(true)); + var res : vec3 = select(vec3(1i), vec3(1i), vec3(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl index 28be629942..b4b1e5511a 100644 --- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl +++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl @@ -23,7 +23,7 @@ // fn select(vec<3, i32>, vec<3, i32>, bool) -> vec<3, i32> fn select_8fa62c() { - var res: vec3 = select(vec3(1), vec3(1), true); + var res: vec3 = select(vec3(1i), vec3(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.wgsl index eac241852b..6e54c767d7 100644 --- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_8fa62c() { - var res : vec3 = select(vec3(1), vec3(1), true); + var res : vec3 = select(vec3(1i), vec3(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl index 254e001129..6562c70430 100644 --- a/test/tint/builtins/gen/literal/select/a2860e.wgsl +++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl @@ -23,7 +23,7 @@ // fn select(vec<4, i32>, vec<4, i32>, vec<4, bool>) -> vec<4, i32> fn select_a2860e() { - var res: vec4 = select(vec4(1), vec4(1), vec4(true)); + var res: vec4 = select(vec4(1i), vec4(1i), vec4(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.wgsl index b489567c13..2d5331b92a 100644 --- a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_a2860e() { - var res : vec4 = select(vec4(1), vec4(1), vec4(true)); + var res : vec4 = select(vec4(1i), vec4(1i), vec4(true)); } @vertex diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl index d75ba257ea..a6ff459c43 100644 --- a/test/tint/builtins/gen/literal/select/ab069f.wgsl +++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl @@ -23,7 +23,7 @@ // fn select(vec<4, i32>, vec<4, i32>, bool) -> vec<4, i32> fn select_ab069f() { - var res: vec4 = select(vec4(1), vec4(1), true); + var res: vec4 = select(vec4(1i), vec4(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.wgsl index a07860c1fe..d9f84053ba 100644 --- a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_ab069f() { - var res : vec4 = select(vec4(1), vec4(1), true); + var res : vec4 = select(vec4(1i), vec4(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl index 0e12aac4ed..4a7bd14d9c 100644 --- a/test/tint/builtins/gen/literal/select/bb447f.wgsl +++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl @@ -23,7 +23,7 @@ // fn select(vec<2, i32>, vec<2, i32>, bool) -> vec<2, i32> fn select_bb447f() { - var res: vec2 = select(vec2(1), vec2(1), true); + var res: vec2 = select(vec2(1i), vec2(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.wgsl index 7bbbcf6dba..e6a40d81c8 100644 --- a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_bb447f() { - var res : vec2 = select(vec2(1), vec2(1), true); + var res : vec2 = select(vec2(1i), vec2(1i), true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl index df63996cbd..e0d89d0947 100644 --- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl +++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl @@ -23,7 +23,7 @@ // fn select(i32, i32, bool) -> i32 fn select_ed8a15() { - var res: i32 = select(1, 1, true); + var res: i32 = select(1i, 1i, true); } @vertex diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.wgsl index 2db78b319d..308d73a6ac 100644 --- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn select_ed8a15() { - var res : i32 = select(1, 1, true); + var res : i32 = select(1i, 1i, true); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl b/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl index 1d3c89af0a..c565d3013c 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_2d, level: i32) -> vec2 fn textureDimensions_12c9bb() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl.expected.wgsl index 857ce06480..38c545016f 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/12c9bb.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d; fn textureDimensions_12c9bb() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl b/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl index d0dfbbe318..0438b5459c 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_221f22() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl.expected.wgsl index 6956187ea6..d7b96620f9 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/221f22.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_221f22() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl b/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl index 7915de394d..d207633e27 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_267788() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl.expected.wgsl index c52fe144ab..4cb5fce3de 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/267788.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_267788() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl b/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl index 43d1a6fce5..c1351b170e 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_26bdfa() { - var res: vec3 = textureDimensions(arg_0, 0); + var res: vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl.expected.wgsl index 29982f72ba..40bb1b3740 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/26bdfa.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_26bdfa() { - var res : vec3 = textureDimensions(arg_0, 0); + var res : vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl b/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl index 74f92a09e2..52f2b7daf2 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_2efa05() { - var res: vec3 = textureDimensions(arg_0, 0); + var res: vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl.expected.wgsl index f68fe06566..aea37b8288 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/2efa05.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_2efa05() { - var res : vec3 = textureDimensions(arg_0, 0); + var res : vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl b/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl index 09fc3aa81d..f08f44e12b 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_2fe1cc() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl.expected.wgsl index acc6e45796..2b65035e73 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/2fe1cc.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_2fe1cc() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl b/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl index 10f0e6c142..ae73458d09 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_50a9ee() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl.expected.wgsl index 271c37829e..a983a69a28 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/50a9ee.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_50a9ee() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl b/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl index 854a5bb378..1a3f157531 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_52045c() { - var res: i32 = textureDimensions(arg_0, 0); + var res: i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl.expected.wgsl index 9966536310..cced754c8d 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/52045c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_52045c() { - var res : i32 = textureDimensions(arg_0, 0); + var res : i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl b/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl index 406718a356..d414d7a842 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_686ef2() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl.expected.wgsl index 0ae50651fb..7a18c2aa94 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/686ef2.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_686ef2() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl b/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl index 7cf0048b71..5d07917c40 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_2d_array, level: i32) -> vec2 fn textureDimensions_72e5d6() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl.expected.wgsl index fd4b217221..4eda504c45 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/72e5d6.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d_array; fn textureDimensions_72e5d6() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl b/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl index cff496e3c2..15f5983473 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_79df87() { - var res: i32 = textureDimensions(arg_0, 0); + var res: i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl.expected.wgsl index e45225d7ba..2b622cd779 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/79df87.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_79df87() { - var res : i32 = textureDimensions(arg_0, 0); + var res : i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl b/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl index df9ae71b7f..aee65925c0 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_85d556() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl.expected.wgsl index 63647723db..c28f367f1b 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/85d556.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_85d556() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl b/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl index 5bb87875ef..b1e4cf9919 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_88ad17() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl.expected.wgsl index d2873d730c..f4cb5e2ead 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/88ad17.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_88ad17() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl b/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl index 4fb614d22e..ab8c970b80 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_cube, level: i32) -> vec2 fn textureDimensions_9393b0() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl.expected.wgsl index fd3f78e61a..a72f931688 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/9393b0.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_cube; fn textureDimensions_9393b0() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl b/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl index f92e0ea589..1172ba0a52 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_9c9c57() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl.expected.wgsl index 89d6463ea5..b2220444aa 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/9c9c57.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_9c9c57() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl b/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl index 484ac3704d..10e6ef2b67 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_cube_array, level: i32) -> vec2 fn textureDimensions_a01845() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl.expected.wgsl index bf501d9257..a75f81d839 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/a01845.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_cube_array; fn textureDimensions_a01845() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl b/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl index 9c74dfa18e..1d0b9ae870 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_a9c9c1() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl.expected.wgsl index 376cdbd51d..1ce213b360 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/a9c9c1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_a9c9c1() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl b/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl index 4be6a15698..1d1adb807a 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_b0e16d() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl.expected.wgsl index 5808c31942..e2013677ce 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/b0e16d.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_b0e16d() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl b/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl index 3bcd260d1c..30b96395f6 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_b3e407() { - var res: i32 = textureDimensions(arg_0, 0); + var res: i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl.expected.wgsl index 19da4477f0..b585a5ecc4 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/b3e407.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_b3e407() { - var res : i32 = textureDimensions(arg_0, 0); + var res : i32 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl b/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl index 619b69ba01..8385fd0184 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_d83c45() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl.expected.wgsl index 2de7e46247..2727979433 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/d83c45.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_d83c45() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl b/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl index 98d14cb4e4..c5434f657d 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_efc8a4() { - var res: vec3 = textureDimensions(arg_0, 0); + var res: vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl.expected.wgsl index c19268b49b..fd24bcdecd 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/efc8a4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_efc8a4() { - var res : vec3 = textureDimensions(arg_0, 0); + var res : vec3 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl b/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl index 93088a4eaa..f9abde208c 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_f7145b() { - var res: vec2 = textureDimensions(arg_0, 0); + var res: vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl.expected.wgsl index 8066448c30..baf5b9c33d 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureDimensions/f7145b.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_f7145b() { - var res : vec2 = textureDimensions(arg_0, 0); + var res : vec2 = textureDimensions(arg_0, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl index 1313b5d43a..4f47345d84 100644 --- a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_22e930() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.wgsl index c06ac6121e..41ad3bba77 100644 --- a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_22e930() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl index cb6bb808f6..6ab89beebb 100644 --- a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_2cc066() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.wgsl index 277e487e2e..318f9103e4 100644 --- a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_2cc066() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl index f805569817..9a6a20da15 100644 --- a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_32c4e8() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.wgsl index 5ad9ed8398..d67ff728b8 100644 --- a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_32c4e8() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl index 553a45f767..b17ed6e72f 100644 --- a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_3b32cc() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.wgsl index fd49b2b9bd..0358d14df4 100644 --- a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_3b32cc() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl index 8ed5ffc2ab..037e0aba1b 100644 --- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl @@ -25,7 +25,7 @@ // fn textureGather(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_43025d() { - var res: vec4 = textureGather(arg_0, arg_1, vec3(), 1); + var res: vec4 = textureGather(arg_0, arg_1, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.wgsl index d5ef2d4118..27be3fd7c4 100644 --- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureGather_43025d() { - var res : vec4 = textureGather(arg_0, arg_1, vec3(), 1); + var res : vec4 = textureGather(arg_0, arg_1, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl index 113115e409..ea7d898880 100644 --- a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_49b07f() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.wgsl index 5d5523fc07..19cf11b852 100644 --- a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_49b07f() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl index b50219134f..6a5a81e24e 100644 --- a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_4b8103() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.wgsl index 40817019c4..ad5a5a3cf1 100644 --- a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_4b8103() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl index 23c426bdd5..b69002a204 100644 --- a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_5266da() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.wgsl index d0657360eb..8db0a99dff 100644 --- a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5266da() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl index 9521e83097..88c4503796 100644 --- a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_5ba85f() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.wgsl index 97174e674a..b25e3f8670 100644 --- a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5ba85f() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl index ebaad123a2..9b9a7ea07e 100644 --- a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_5bd491() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.wgsl index b1c71cd8fe..164ec7c14f 100644 --- a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5bd491() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl index b7fa5ff7d3..1a54bb5686 100644 --- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_751f8a() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.wgsl index cd5081f31d..7cda70f19f 100644 --- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_751f8a() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl index 7fac2aae86..2ab98cc8dc 100644 --- a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_7c3828() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.wgsl index 2d624d2627..339b0ad8de 100644 --- a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_7c3828() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl index 8f95c077f5..446d5d5ec2 100644 --- a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_8b754c() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.wgsl index a2e4ee383c..9ff5d7755a 100644 --- a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_8b754c() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl index be5ea9ea7b..7f2b8c4a1d 100644 --- a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl @@ -25,7 +25,7 @@ // fn textureGather(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_9a6358() { - var res: vec4 = textureGather(arg_0, arg_1, vec2(), 1); + var res: vec4 = textureGather(arg_0, arg_1, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.wgsl index 415aa2c524..f55dba10f1 100644 --- a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureGather_9a6358() { - var res : vec4 = textureGather(arg_0, arg_1, vec2(), 1); + var res : vec4 = textureGather(arg_0, arg_1, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl index f2aba4a1a7..7abfc75a45 100644 --- a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_af55b3() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.wgsl index c45f294bc7..628443449b 100644 --- a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_af55b3() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl index 54a1771eca..981675fec1 100644 --- a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_bb3ac5() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.wgsl index d0ad8437dc..38ac385080 100644 --- a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_bb3ac5() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl index 5aaf7b378c..dea00caeae 100644 --- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_c0640c() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.wgsl index df93f13f61..5292611ca7 100644 --- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_c0640c() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl index 4ae5d191df..bcc0db0e08 100644 --- a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_d1f187() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.wgsl index 0c906a65f0..f36201fc7a 100644 --- a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_d1f187() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl index 6a6fcb52e9..4a7983e19b 100644 --- a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl @@ -25,7 +25,7 @@ // fn textureGather(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_d90605() { - var res: vec4 = textureGather(arg_0, arg_1, vec2(), 1, vec2()); + var res: vec4 = textureGather(arg_0, arg_1, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.wgsl index f61c0dc0c5..d2374c4cf2 100644 --- a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureGather_d90605() { - var res : vec4 = textureGather(arg_0, arg_1, vec2(), 1, vec2()); + var res : vec4 = textureGather(arg_0, arg_1, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl index 14c0857c7e..817e5a9795 100644 --- a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_e9d390() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.wgsl index 72ada2ebaa..71d137afd8 100644 --- a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_e9d390() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec2(), 1, vec2()); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec2(), 1i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl index 97a402ad7f..c7fded4f08 100644 --- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_f2c6e3() { - var res: vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res: vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.wgsl index 5b13511b10..5f3fd15acf 100644 --- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_f2c6e3() { - var res : vec4 = textureGather(1, arg_1, arg_2, vec3(), 1); + var res : vec4 = textureGather(1i, arg_1, arg_2, vec3(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl index 6b753a9945..c56f8db453 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl @@ -25,7 +25,7 @@ // fn textureGatherCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> vec4 fn textureGatherCompare_60d2d1() { - var res: vec4 = textureGatherCompare(arg_0, arg_1, vec3(), 1, 1.f); + var res: vec4 = textureGatherCompare(arg_0, arg_1, vec3(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.wgsl index bb51bf9975..b7734ea8b1 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureGatherCompare_60d2d1() { - var res : vec4 = textureGatherCompare(arg_0, arg_1, vec3(), 1, 1.0f); + var res : vec4 = textureGatherCompare(arg_0, arg_1, vec3(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl index 0ac189578a..7ca01d9154 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl @@ -25,7 +25,7 @@ // fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> vec4 fn textureGatherCompare_783e65() { - var res: vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1, 1.f); + var res: vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.wgsl index ac4201677b..31377a1194 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureGatherCompare_783e65() { - var res : vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1, 1.0f); + var res : vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl index 257fd865df..2264490add 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl @@ -25,7 +25,7 @@ // fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> vec4 fn textureGatherCompare_f585cc() { - var res: vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1, 1.f, vec2()); + var res: vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1i, 1.f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.wgsl index a3870ffe5d..212777eaaf 100644 --- a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureGatherCompare_f585cc() { - var res : vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1, 1.0f, vec2()); + var res : vec4 = textureGatherCompare(arg_0, arg_1, vec2(), 1i, 1.0f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl index b2c82b13a3..cb9b710f44 100644 --- a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_depth_2d, coords: vec2, level: i32) -> f32 fn textureLoad_19cf87() { - var res: f32 = textureLoad(arg_0, vec2(), 0); + var res: f32 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.wgsl index 06ee45ec18..06d60b79b1 100644 --- a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d; fn textureLoad_19cf87() { - var res : f32 = textureLoad(arg_0, vec2(), 0); + var res : f32 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl index 76c6121d39..133e4c979b 100644 --- a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_1b8588() { - var res: vec4 = textureLoad(arg_0, 1, 0); + var res: vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.wgsl index 3201267a38..e8c57f8f2e 100644 --- a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_1b8588() { - var res : vec4 = textureLoad(arg_0, 1, 0); + var res : vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl index 42ccce41c9..b46a3f6efc 100644 --- a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_1f2016() { - var res: vec4 = textureLoad(arg_0, vec3(), 0); + var res: vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.wgsl index f0f6e74835..503e6ed5fe 100644 --- a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureLoad_1f2016() { - var res : vec4 = textureLoad(arg_0, vec3(), 0); + var res : vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl index f374d1aa1f..b8080e6c26 100644 --- a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_484344() { - var res: vec4 = textureLoad(arg_0, vec2(), 0); + var res: vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.wgsl index af4014192e..45fde2cc3f 100644 --- a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureLoad_484344() { - var res : vec4 = textureLoad(arg_0, vec2(), 0); + var res : vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl index 0b1bff68da..b1d19a6af8 100644 --- a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_4fd803() { - var res: vec4 = textureLoad(arg_0, vec3(), 0); + var res: vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.wgsl index 36d495ac92..f5f39aae92 100644 --- a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureLoad_4fd803() { - var res : vec4 = textureLoad(arg_0, vec3(), 0); + var res : vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl index 6171bd1a73..6d65267ca4 100644 --- a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_5a2f9d() { - var res: vec4 = textureLoad(arg_0, 1, 0); + var res: vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.wgsl index 13f88e8325..c257d8ec5a 100644 --- a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_5a2f9d() { - var res : vec4 = textureLoad(arg_0, 1, 0); + var res : vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl index 8d5dd746c4..6c3ac347eb 100644 --- a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_6154d4() { - var res: vec4 = textureLoad(arg_0, vec2(), 0); + var res: vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.wgsl index 9119dcb4c5..1d787ff4f5 100644 --- a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureLoad_6154d4() { - var res : vec4 = textureLoad(arg_0, vec2(), 0); + var res : vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl index ccf016c78d..b7d1e1df94 100644 --- a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_depth_multisampled_2d, coords: vec2, sample_index: i32) -> f32 fn textureLoad_6273b1() { - var res: f32 = textureLoad(arg_0, vec2(), 1); + var res: f32 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.wgsl index 349248bc9f..6c19c4a26c 100644 --- a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; fn textureLoad_6273b1() { - var res : f32 = textureLoad(arg_0, vec2(), 1); + var res : f32 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl index 82233849ec..367a2d28e4 100644 --- a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_79e697() { - var res: vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res: vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.wgsl index 6274eda85f..bce0e3994a 100644 --- a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureLoad_79e697() { - var res : vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res : vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl index 0e15b564bb..3a4d763e39 100644 --- a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_7c90e5() { - var res: vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res: vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.wgsl index e400b6ff27..b81d181c7b 100644 --- a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureLoad_7c90e5() { - var res : vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res : vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl index cf887f4768..92e572e8ef 100644 --- a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_81c381() { - var res: vec4 = textureLoad(arg_0, 1, 0); + var res: vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.wgsl index 34d306b88d..0c84e90cbb 100644 --- a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_81c381() { - var res : vec4 = textureLoad(arg_0, 1, 0); + var res : vec4 = textureLoad(arg_0, 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl index 04962090d2..a0d6da999f 100644 --- a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_87be85() { - var res: vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res: vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.wgsl index a5a1096713..f849821cdd 100644 --- a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureLoad_87be85() { - var res : vec4 = textureLoad(arg_0, vec2(), 1, 0); + var res : vec4 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl index f796ea7d0f..d3927cd769 100644 --- a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_depth_2d_array, coords: vec2, array_index: i32, level: i32) -> f32 fn textureLoad_9b2667() { - var res: f32 = textureLoad(arg_0, vec2(), 1, 0); + var res: f32 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.wgsl index 3cf30ade8f..030cc1bde8 100644 --- a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d_array; fn textureLoad_9b2667() { - var res : f32 = textureLoad(arg_0, vec2(), 1, 0); + var res : f32 = textureLoad(arg_0, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl index 72149aaf8b..735f125b34 100644 --- a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_a583c9() { - var res: vec4 = textureLoad(arg_0, vec2(), 1); + var res: vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.wgsl index d0a3f71fa7..4fadbce468 100644 --- a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_multisampled_2d; fn textureLoad_a583c9() { - var res : vec4 = textureLoad(arg_0, vec2(), 1); + var res : vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl index 9d2051aa95..ac547633fe 100644 --- a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_a9a9f5() { - var res: vec4 = textureLoad(arg_0, vec3(), 0); + var res: vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.wgsl index 4fd66d1d1a..9dbc6a91f1 100644 --- a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureLoad_a9a9f5() { - var res : vec4 = textureLoad(arg_0, vec3(), 0); + var res : vec4 = textureLoad(arg_0, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl index 89f926f0fd..4984a45801 100644 --- a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_c2a480() { - var res: vec4 = textureLoad(arg_0, vec2(), 0); + var res: vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.wgsl index 21cd36783a..182c3bb92e 100644 --- a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureLoad_c2a480() { - var res : vec4 = textureLoad(arg_0, vec2(), 0); + var res : vec4 = textureLoad(arg_0, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl index a7911def41..788eda1d53 100644 --- a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_c378ee() { - var res: vec4 = textureLoad(arg_0, vec2(), 1); + var res: vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.wgsl index 1620def4ae..2f84fbc65e 100644 --- a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_multisampled_2d; fn textureLoad_c378ee() { - var res : vec4 = textureLoad(arg_0, vec2(), 1); + var res : vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl index e7dc36cafc..1500bf501f 100644 --- a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl @@ -24,7 +24,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_e3d2cc() { - var res: vec4 = textureLoad(arg_0, vec2(), 1); + var res: vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.wgsl index 8355ef2dcb..d41a2bb242 100644 --- a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_multisampled_2d; fn textureLoad_e3d2cc() { - var res : vec4 = textureLoad(arg_0, vec2(), 1); + var res : vec4 = textureLoad(arg_0, vec2(), 1i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl index fb2f2464b4..f3caea4426 100644 --- a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureSample_17e988() { - var res: vec4 = textureSample(arg_0, arg_1, vec2(), 1, vec2()); + var res: vec4 = textureSample(arg_0, arg_1, vec2(), 1i, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.wgsl index 3bb1fd77fc..d65f73908b 100644 --- a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_17e988() { - var res : vec4 = textureSample(arg_0, arg_1, vec2(), 1, vec2()); + var res : vec4 = textureSample(arg_0, arg_1, vec2(), 1i, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl index 7d80fd0544..d1f689cc49 100644 --- a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureSample_4dd1bf() { - var res: vec4 = textureSample(arg_0, arg_1, vec3(), 1); + var res: vec4 = textureSample(arg_0, arg_1, vec3(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.wgsl index 5c29b5a578..cdeb313cfb 100644 --- a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_4dd1bf() { - var res : vec4 = textureSample(arg_0, arg_1, vec3(), 1); + var res : vec4 = textureSample(arg_0, arg_1, vec3(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl index f7111280cc..df45e49545 100644 --- a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> f32 fn textureSample_60bf45() { - var res: f32 = textureSample(arg_0, arg_1, vec2(), 1, vec2()); + var res: f32 = textureSample(arg_0, arg_1, vec2(), 1i, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.wgsl index 01301b396a..1f8b519155 100644 --- a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_60bf45() { - var res : f32 = textureSample(arg_0, arg_1, vec2(), 1, vec2()); + var res : f32 = textureSample(arg_0, arg_1, vec2(), 1i, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl index e9c30950a9..b58ee341f8 100644 --- a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureSample_6717ca() { - var res: vec4 = textureSample(arg_0, arg_1, vec2(), 1); + var res: vec4 = textureSample(arg_0, arg_1, vec2(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.wgsl index 4f6d04834a..76ba9f745e 100644 --- a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_6717ca() { - var res : vec4 = textureSample(arg_0, arg_1, vec2(), 1); + var res : vec4 = textureSample(arg_0, arg_1, vec2(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl index 3fd7483acf..c043255733 100644 --- a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> f32 fn textureSample_7e9ffd() { - var res: f32 = textureSample(arg_0, arg_1, vec2(), 1); + var res: f32 = textureSample(arg_0, arg_1, vec2(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.wgsl index 0381c1a7e7..1332fda9ef 100644 --- a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_7e9ffd() { - var res : f32 = textureSample(arg_0, arg_1, vec2(), 1); + var res : f32 = textureSample(arg_0, arg_1, vec2(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl index 11c008a862..536ecb2d7a 100644 --- a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl @@ -25,7 +25,7 @@ // fn textureSample(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> f32 fn textureSample_c2f4e8() { - var res: f32 = textureSample(arg_0, arg_1, vec3(), 1); + var res: f32 = textureSample(arg_0, arg_1, vec3(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.wgsl index 5e1f087212..30b80497b0 100644 --- a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSample_c2f4e8() { - var res : f32 = textureSample(arg_0, arg_1, vec3(), 1); + var res : f32 = textureSample(arg_0, arg_1, vec3(), 1i); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl index 8accc8b272..ac5345b695 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl @@ -25,7 +25,7 @@ // fn textureSampleBias(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, bias: f32) -> vec4 fn textureSampleBias_80e579() { - var res: vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1, 1.f); + var res: vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1i, 1.f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.wgsl index 8616fdc083..2d96438aa1 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleBias_80e579() { - var res : vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1, 1.0f); + var res : vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1i, 1.0f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl index cca84dc73b..f604de6aaf 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl @@ -25,7 +25,7 @@ // fn textureSampleBias(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, bias: f32, @const offset: vec2) -> vec4 fn textureSampleBias_9dbb51() { - var res: vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1, 1.f, vec2()); + var res: vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1i, 1.f, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.wgsl index 0315b849fd..24794c9d4f 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleBias_9dbb51() { - var res : vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1, 1.0f, vec2()); + var res : vec4 = textureSampleBias(arg_0, arg_1, vec2(), 1i, 1.0f, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl index 9926e17485..6ac4b73be7 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl @@ -25,7 +25,7 @@ // fn textureSampleBias(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, bias: f32) -> vec4 fn textureSampleBias_eed7c4() { - var res: vec4 = textureSampleBias(arg_0, arg_1, vec3(), 1, 1.f); + var res: vec4 = textureSampleBias(arg_0, arg_1, vec3(), 1i, 1.f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.wgsl index 879359ce2d..f1f2c2e1f3 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleBias_eed7c4() { - var res : vec4 = textureSampleBias(arg_0, arg_1, vec3(), 1, 1.0f); + var res : vec4 = textureSampleBias(arg_0, arg_1, vec3(), 1i, 1.0f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl index 71511d2256..f51f3eac9e 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompare_a3ca7e() { - var res: f32 = textureSampleCompare(arg_0, arg_1, vec3(), 1, 1.f); + var res: f32 = textureSampleCompare(arg_0, arg_1, vec3(), 1i, 1.f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.wgsl index a8ddb882a6..1c935d2d94 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompare_a3ca7e() { - var res : f32 = textureSampleCompare(arg_0, arg_1, vec3(), 1, 1.0f); + var res : f32 = textureSampleCompare(arg_0, arg_1, vec3(), 1i, 1.0f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl index 18a4eaafcd..4a18997335 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> f32 fn textureSampleCompare_af1051() { - var res: f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1, 1.f, vec2()); + var res: f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1i, 1.f, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.wgsl index b9f6fdea05..772f21e636 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompare_af1051() { - var res : f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1, 1.0f, vec2()); + var res : f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1i, 1.0f, vec2()); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl index be3202524f..bd50de0bf6 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompare_dd431d() { - var res: f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1, 1.f); + var res: f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1i, 1.f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.wgsl index 9737d12dd9..1a8cfcb905 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompare_dd431d() { - var res : f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1, 1.0f); + var res : f32 = textureSampleCompare(arg_0, arg_1, vec2(), 1i, 1.0f); } @fragment diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl index 307b84fc15..89ad4abca8 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompareLevel_1116ed() { - var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1, 1.f); + var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl index f41a8ab195..bdf67170d5 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompareLevel_1116ed() { - var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1, 1.0f); + var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl index c5f07003d0..5e17a1b093 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompareLevel_4cf3a2() { - var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec3(), 1, 1.f); + var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec3(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl index 04a1d79e81..6727920eaf 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompareLevel_4cf3a2() { - var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec3(), 1, 1.0f); + var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec3(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl index 80a3e8fddb..c7d95fe5c7 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl @@ -25,7 +25,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> f32 fn textureSampleCompareLevel_b6e47c() { - var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1, 1.f, vec2()); + var res: f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1i, 1.f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl index 250717e572..7214a20b5d 100644 --- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler_comparison; fn textureSampleCompareLevel_b6e47c() { - var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1, 1.0f, vec2()); + var res : f32 = textureSampleCompareLevel(arg_0, arg_1, vec2(), 1i, 1.0f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl index 97d1c119fc..549f394da2 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl @@ -25,7 +25,7 @@ // fn textureSampleGrad(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, ddx: vec2, ddy: vec2) -> vec4 fn textureSampleGrad_2ecd8f() { - var res: vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1, vec2(), vec2()); + var res: vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1i, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.wgsl index 1319a44088..aa4204f32e 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleGrad_2ecd8f() { - var res : vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1, vec2(), vec2()); + var res : vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1i, vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl index c3e0fe82f8..d7af55ed25 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl @@ -25,7 +25,7 @@ // fn textureSampleGrad(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, ddx: vec2, ddy: vec2, @const offset: vec2) -> vec4 fn textureSampleGrad_d65515() { - var res: vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1, vec2(), vec2(), vec2()); + var res: vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1i, vec2(), vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.wgsl index e62ecef990..ed2ec94c58 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleGrad_d65515() { - var res : vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1, vec2(), vec2(), vec2()); + var res : vec4 = textureSampleGrad(arg_0, arg_1, vec2(), 1i, vec2(), vec2(), vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl index 103bb190cd..9bcad7fe91 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl @@ -25,7 +25,7 @@ // fn textureSampleGrad(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, ddx: vec3, ddy: vec3) -> vec4 fn textureSampleGrad_e383db() { - var res: vec4 = textureSampleGrad(arg_0, arg_1, vec3(), 1, vec3(), vec3()); + var res: vec4 = textureSampleGrad(arg_0, arg_1, vec3(), 1i, vec3(), vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.wgsl index bb414626f0..6652bb639d 100644 --- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleGrad_e383db() { - var res : vec4 = textureSampleGrad(arg_0, arg_1, vec3(), 1, vec3(), vec3()); + var res : vec4 = textureSampleGrad(arg_0, arg_1, vec3(), 1i, vec3(), vec3()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl index f2f822a745..7c554c937d 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2, level: i32) -> f32 fn textureSampleLevel_02be59() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.wgsl index 14b220ad7c..55e74af2b1 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_02be59() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl index b0220c66cb..9ab157c7da 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, level: f32) -> vec4 fn textureSampleLevel_0bdd9a() { - var res: vec4 = textureSampleLevel(arg_0, arg_1, vec3(), 1, 1.f); + var res: vec4 = textureSampleLevel(arg_0, arg_1, vec3(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.wgsl index 8cf28599d8..d49f2c265c 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_0bdd9a() { - var res : vec4 = textureSampleLevel(arg_0, arg_1, vec3(), 1, 1.0f); + var res : vec4 = textureSampleLevel(arg_0, arg_1, vec3(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl index 4a9a9f863d..d65193f6c1 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_cube, sampler: sampler, coords: vec3, level: i32) -> f32 fn textureSampleLevel_1b0291() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec3(), 0); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.wgsl index 52151bc571..72db426f55 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_1b0291() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec3(), 0); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec3(), 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl index 253050ab47..f4fd908a26 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: i32) -> f32 fn textureSampleLevel_1bf73e() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 0); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.wgsl index 8771b3abcb..c15610dec1 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_1bf73e() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 0); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl index a25558579e..b7be828339 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: f32) -> vec4 fn textureSampleLevel_302be4() { - var res: vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 1.f); + var res: vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 1.f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.wgsl index d77eb70230..846f87f09e 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_302be4() { - var res : vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 1.0f); + var res : vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 1.0f); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl index a23684aca7..5c4d607b26 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: i32, @const offset: vec2) -> f32 fn textureSampleLevel_36780e() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 0, vec2()); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 0i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.wgsl index caff931b22..0f94cbb12c 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_36780e() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 0, vec2()); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 0i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl index 0b57ed2383..ca43660353 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2, level: i32, @const offset: vec2) -> f32 fn textureSampleLevel_749baf() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0, vec2()); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.wgsl index 73109bbc38..8a0daf87e6 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_749baf() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0, vec2()); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec2(), 0i, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl index 08a0c3cb56..3e5c97f17c 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32, level: i32) -> f32 fn textureSampleLevel_ae5e39() { - var res: f32 = textureSampleLevel(arg_0, arg_1, vec3(), 1, 0); + var res: f32 = textureSampleLevel(arg_0, arg_1, vec3(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.wgsl index 707f48a83c..9808cc8c39 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_ae5e39() { - var res : f32 = textureSampleLevel(arg_0, arg_1, vec3(), 1, 0); + var res : f32 = textureSampleLevel(arg_0, arg_1, vec3(), 1i, 0i); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl index f9d9d701fc..ef0b2caf5c 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl @@ -25,7 +25,7 @@ // fn textureSampleLevel(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: f32, @const offset: vec2) -> vec4 fn textureSampleLevel_b7c55c() { - var res: vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 1.f, vec2()); + var res: vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 1.f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.wgsl index 62ef601942..b4b4642e06 100644 --- a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(1) var arg_1 : sampler; fn textureSampleLevel_b7c55c() { - var res : vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1, 1.0f, vec2()); + var res : vec4 = textureSampleLevel(arg_0, arg_1, vec2(), 1i, 1.0f, vec2()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl index 39f21e5759..78f795b9bf 100644 --- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_102722() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.wgsl index 2d6fc38b13..dd665bfcac 100644 --- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_102722() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl index 8f065958cd..7bea7c2041 100644 --- a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_1c02e7() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.wgsl index 556621ddf0..bc7cea276d 100644 --- a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_1c02e7() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl index 27e6ead97d..e657ad4026 100644 --- a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_22d955() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.wgsl index cfb291c80e..6cdb5e7214 100644 --- a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_22d955() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl index 7e2a022e63..6f52734010 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2ac6c7() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.wgsl index ca7cc4f150..b48d70e900 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2ac6c7() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl index f0319e1967..eda0e93995 100644 --- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2eb2a4() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.wgsl index 5399668be0..089951d4f0 100644 --- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2eb2a4() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl index 9e80a1af58..40095c597b 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2ed2a3() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.wgsl index daad961756..c974cc879f 100644 --- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2ed2a3() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl index 46c055db21..8b2a2fa1ea 100644 --- a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_32f368() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.wgsl index d0d3f8bf97..160e1ff8c0 100644 --- a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_32f368() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl index 37e1c57f64..91ea85b936 100644 --- a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_38e8d7() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.wgsl index e586ff1e07..080c74fce1 100644 --- a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_38e8d7() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl index 8422dd4c9a..2e7b06b122 100644 --- a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_3a52ac() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.wgsl index a3aa110123..241766e406 100644 --- a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_3a52ac() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl index 5d9dcff914..570de49728 100644 --- a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_3bb7a1() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.wgsl index b1b1b8dcdd..0b7b71d8a8 100644 --- a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_3bb7a1() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl index 5eca58954c..5ae429a85b 100644 --- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_3bec15() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.wgsl index 96e2996ef8..54a9a18c13 100644 --- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_3bec15() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl index a1f4e4df8d..5470d5aac8 100644 --- a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_4fc057() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.wgsl index a599ff7aa4..bc8801144f 100644 --- a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_4fc057() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl index 16e418494c..30fffd9dd5 100644 --- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_5a2f8f() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.wgsl index 9e4b11f69d..55a791e27d 100644 --- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_5a2f8f() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl index 6c5834baa5..80d908babd 100644 --- a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_60975f() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.wgsl index c723d57dcd..ac8ff9800f 100644 --- a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_60975f() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl index 8c17e5cf9f..ba822b76b4 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_6b75c3() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.wgsl index da091c3ab6..6022b91f4f 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_6b75c3() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl index 4d83993484..567f88ef40 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_6b80d2() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.wgsl index 85e0231b1a..7cd817fafb 100644 --- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_6b80d2() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl index 60957e3ad0..1a4399a8ed 100644 --- a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_6da692() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.wgsl index ba262d3bf6..0a1021c997 100644 --- a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_6da692() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl index 973881dc96..1edcb8fd65 100644 --- a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_7cec8d() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.wgsl index 5218558358..1faa3416db 100644 --- a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_7cec8d() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl index a84a68366a..6b0839773d 100644 --- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_7f7fae() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.wgsl index eba8d52748..49ff2d8c70 100644 --- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_7f7fae() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl index 29333f0cec..387e5ad2a9 100644 --- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_83bcc1() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.wgsl index e7e464edf7..436eb3037a 100644 --- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_83bcc1() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl index d6f4ce1236..d457c127f3 100644 --- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_872747() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.wgsl index 50b71065a2..61eaae0d33 100644 --- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_872747() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl index 37ba1a3ee3..b3326b9ff5 100644 --- a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_8e0479() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.wgsl index c831783a19..17e9e38d81 100644 --- a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_8e0479() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl index 92a4a59d69..478498cf13 100644 --- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_969534() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.wgsl index 41ae9063d0..d17bfa346e 100644 --- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_969534() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl index e8c9753521..981614ac46 100644 --- a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_9d9cd5() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.wgsl index f321044a7e..e02d2ec99a 100644 --- a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_9d9cd5() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl index 110b5ee83d..1a07707c5f 100644 --- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_bf775c() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.wgsl index 47b4f23cd7..7e0e3fced2 100644 --- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_bf775c() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl index 35f6aa2f45..ba68f66175 100644 --- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_c863be() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.wgsl index 7c6f8acccd..627c0cac56 100644 --- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_c863be() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl index 64408f9e10..df60956329 100644 --- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_d73b5c() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.wgsl index bed8187fad..24581f76e8 100644 --- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_d73b5c() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl index 055a43a496..0648c2c9a0 100644 --- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_dde364() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.wgsl index f7dc0c1d2d..22cf9bbb7c 100644 --- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_dde364() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl index 8ac51d3331..f13fd8dd78 100644 --- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_e885e8() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.wgsl index f7b3caad6c..4cc3fb9503 100644 --- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_e885e8() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl index def2f9b384..7be33f911d 100644 --- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_f9be83() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.wgsl index 0b0ece1beb..56835dddaf 100644 --- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_f9be83() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl index 0f65cc5dd3..e9e49586f1 100644 --- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_fb9a8f() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.wgsl index e1b6643388..2e22223d5e 100644 --- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_fb9a8f() { - textureStore(arg_0, 1, vec4()); + textureStore(arg_0, 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl index b730c25be3..c9b7a1dd57 100644 --- a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_fbf53f() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.wgsl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.wgsl index dd790f2c13..888978b098 100644 --- a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_2d_array; fn textureStore_fbf53f() { - textureStore(arg_0, vec2(), 1, vec4()); + textureStore(arg_0, vec2(), 1i, vec4()); } @vertex diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl index 5518ed005c..f61c4282b3 100644 --- a/test/tint/builtins/gen/var/abs/4ad288.wgsl +++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl @@ -23,7 +23,7 @@ // fn abs(i32) -> i32 fn abs_4ad288() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.wgsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.wgsl index 1a9cb02f2d..aa364531d6 100644 --- a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_4ad288() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl index 9dbfdc50f1..05288fab7b 100644 --- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl +++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<3, i32>) -> vec<3, i32> fn abs_5ad50a() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.wgsl index 04a451941d..94f8dbbd4d 100644 --- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_5ad50a() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl index e30951b970..9cc973da07 100644 --- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl +++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<2, i32>) -> vec<2, i32> fn abs_7faa9e() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.wgsl index 23c2fe7830..05f2097606 100644 --- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_7faa9e() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl index d6a145fb72..7b2b6d8432 100644 --- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl +++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl @@ -23,7 +23,7 @@ // fn abs(vec<4, i32>) -> vec<4, i32> fn abs_9c80a6() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.wgsl index 2e3fd3ad51..5a6bdf0198 100644 --- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn abs_9c80a6() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = abs(arg_0); } diff --git a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl index 556c47f18e..28d02bdb0c 100644 --- a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl +++ b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicAdd(ptr, read_write>, i32) -> i32 fn atomicAdd_794055() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicAdd(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.wgsl index 969958e629..569553f5c4 100644 --- a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicAdd_794055() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicAdd(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl index 9e02742e66..f4e40b97d6 100644 --- a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl +++ b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicAdd(ptr, read_write>, i32) -> i32 fn atomicAdd_d32fe4() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicAdd(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.wgsl index 9b4b44b6e2..6eeb30c59c 100644 --- a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicAdd_d32fe4() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicAdd(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl index 1425f29154..37c1e940a0 100644 --- a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl +++ b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicAnd(ptr, read_write>, i32) -> i32 fn atomicAnd_152966() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicAnd(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.wgsl index 3fd9d1c365..fe3cc0a3d2 100644 --- a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicAnd_152966() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicAnd(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl index 6a961b1f9f..34d1b06007 100644 --- a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl +++ b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicAnd(ptr, read_write>, i32) -> i32 fn atomicAnd_45a819() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicAnd(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.wgsl index 317fe39eeb..2b43c8ecb9 100644 --- a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicAnd_45a819() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicAnd(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl index f302d121e7..324d09cfe7 100644 --- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl +++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl @@ -27,8 +27,8 @@ struct SB_RW { // fn atomicCompareExchangeWeak(ptr, read_write>, i32, i32) -> __atomic_compare_exchange_result fn atomicCompareExchangeWeak_1bd40a() { - var arg_1 = 1; - var arg_2 = 1; + var arg_1 = 1i; + var arg_2 = 1i; var res = atomicCompareExchangeWeak(&sb_rw.arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl index a97dff5ca3..23940cd46b 100644 --- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.wgsl @@ -5,8 +5,8 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicCompareExchangeWeak_1bd40a() { - var arg_1 = 1; - var arg_2 = 1; + var arg_1 = 1i; + var arg_2 = 1i; var res = atomicCompareExchangeWeak(&(sb_rw.arg_0), arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl index 8ff42eef3c..1e78a29d76 100644 --- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl +++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl @@ -24,8 +24,8 @@ var arg_0: atomic; // fn atomicCompareExchangeWeak(ptr, read_write>, i32, i32) -> __atomic_compare_exchange_result fn atomicCompareExchangeWeak_e88938() { - var arg_1 = 1; - var arg_2 = 1; + var arg_1 = 1i; + var arg_2 = 1i; var res = atomicCompareExchangeWeak(&arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl index 3eb4780352..e629eb1c6a 100644 --- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.wgsl @@ -1,8 +1,8 @@ var arg_0 : atomic; fn atomicCompareExchangeWeak_e88938() { - var arg_1 = 1; - var arg_2 = 1; + var arg_1 = 1i; + var arg_2 = 1i; var res = atomicCompareExchangeWeak(&(arg_0), arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl index 65473b6f71..b2978df6a5 100644 --- a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl +++ b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicExchange(ptr, read_write>, i32) -> i32 fn atomicExchange_e114ba() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicExchange(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.wgsl index e9b702730c..93146ccc19 100644 --- a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicExchange_e114ba() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicExchange(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl index a76f74546c..c9fe752ec0 100644 --- a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl +++ b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicExchange(ptr, read_write>, i32) -> i32 fn atomicExchange_f2e22f() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicExchange(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.wgsl index 2e874721e6..79c36793cd 100644 --- a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicExchange_f2e22f() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicExchange(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl index cf887387c3..5b9b6a5972 100644 --- a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl +++ b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicMax(ptr, read_write>, i32) -> i32 fn atomicMax_92aa72() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicMax(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.wgsl index c5039e52a3..118f770165 100644 --- a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicMax_92aa72() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicMax(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl index d08a51bcd9..0aa51390c8 100644 --- a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl +++ b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicMax(ptr, read_write>, i32) -> i32 fn atomicMax_a89cc3() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicMax(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.wgsl index 10ed82e499..0741d6b476 100644 --- a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicMax_a89cc3() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicMax(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMin/278235.wgsl b/test/tint/builtins/gen/var/atomicMin/278235.wgsl index 1ac338c1b9..3b02497830 100644 --- a/test/tint/builtins/gen/var/atomicMin/278235.wgsl +++ b/test/tint/builtins/gen/var/atomicMin/278235.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicMin(ptr, read_write>, i32) -> i32 fn atomicMin_278235() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicMin(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.wgsl index 79955631a0..fa7c48399c 100644 --- a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicMin_278235() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicMin(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl index 6da76be0f2..1cd92268a7 100644 --- a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl +++ b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicMin(ptr, read_write>, i32) -> i32 fn atomicMin_8e38dc() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicMin(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.wgsl index 61d4a1eabe..40fd5e4f68 100644 --- a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicMin_8e38dc() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicMin(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl index 8b7f6bc5e8..cfbed5ff03 100644 --- a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl +++ b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicOr(ptr, read_write>, i32) -> i32 fn atomicOr_8d96a0() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicOr(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.wgsl index dd513803b2..b10dc6db2e 100644 --- a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicOr_8d96a0() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicOr(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl index 6058d4155f..776295baa9 100644 --- a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl +++ b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicOr(ptr, read_write>, i32) -> i32 fn atomicOr_d09248() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicOr(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.wgsl index c8ae9e1efb..cba0211302 100644 --- a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicOr_d09248() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicOr(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl index c73fcab73f..3a5ed5aafd 100644 --- a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl +++ b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicStore(ptr, read_write>, i32) fn atomicStore_8bea94() { - var arg_1 = 1; + var arg_1 = 1i; atomicStore(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.wgsl index 637085b9d2..5099abbc8c 100644 --- a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicStore_8bea94() { - var arg_1 = 1; + var arg_1 = 1i; atomicStore(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl index 50d4d3bf92..ee28858175 100644 --- a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl +++ b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicStore(ptr, read_write>, i32) fn atomicStore_d1e9a6() { - var arg_1 = 1; + var arg_1 = 1i; atomicStore(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.wgsl index 6548753bb2..3107abd705 100644 --- a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicStore_d1e9a6() { - var arg_1 = 1; + var arg_1 = 1i; atomicStore(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicSub/051100.wgsl b/test/tint/builtins/gen/var/atomicSub/051100.wgsl index 9e8fe1440c..0bc68cf912 100644 --- a/test/tint/builtins/gen/var/atomicSub/051100.wgsl +++ b/test/tint/builtins/gen/var/atomicSub/051100.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicSub(ptr, read_write>, i32) -> i32 fn atomicSub_051100() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicSub(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.wgsl index 6eecb4f561..5a6160b426 100644 --- a/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicSub_051100() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicSub(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl index bfc8f99eb0..f6bbd19b12 100644 --- a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl +++ b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicSub(ptr, read_write>, i32) -> i32 fn atomicSub_77883a() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicSub(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.wgsl index 2c35436eeb..d42d8669ae 100644 --- a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicSub_77883a() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicSub(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl index 0f3352b950..43ef1a37eb 100644 --- a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl +++ b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl @@ -24,7 +24,7 @@ var arg_0: atomic; // fn atomicXor(ptr, read_write>, i32) -> i32 fn atomicXor_75dc95() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicXor(&arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.wgsl index bf056861ac..ca4d8535a8 100644 --- a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.wgsl @@ -1,7 +1,7 @@ var arg_0 : atomic; fn atomicXor_75dc95() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicXor(&(arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl index d74dc91191..87a159943b 100644 --- a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl +++ b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl @@ -27,7 +27,7 @@ struct SB_RW { // fn atomicXor(ptr, read_write>, i32) -> i32 fn atomicXor_c1b78c() { - var arg_1 = 1; + var arg_1 = 1i; var res: i32 = atomicXor(&sb_rw.arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.wgsl index f26d9de339..a8129e84ae 100644 --- a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.wgsl @@ -5,7 +5,7 @@ struct SB_RW { @group(0) @binding(0) var sb_rw : SB_RW; fn atomicXor_c1b78c() { - var arg_1 = 1; + var arg_1 = 1i; var res : i32 = atomicXor(&(sb_rw.arg_0), arg_1); } diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl index cc330c9bab..03a55bd2fc 100644 --- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl +++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl @@ -23,9 +23,9 @@ // fn clamp(vec<4, i32>, vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn clamp_1a32e3() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); - var arg_2 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); + var arg_2 = vec4(1i); var res: vec4 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.wgsl index 3b2884dd25..ef0f3bd990 100644 --- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ fn clamp_1a32e3() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); - var arg_2 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); + var arg_2 = vec4(1i); var res : vec4 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl index 6265c23f65..c4804b5d3f 100644 --- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl +++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl @@ -23,9 +23,9 @@ // fn clamp(vec<3, i32>, vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn clamp_5f0819() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); - var arg_2 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); + var arg_2 = vec3(1i); var res: vec3 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.wgsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.wgsl index 198a03ed60..39cd427286 100644 --- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.wgsl @@ -1,7 +1,7 @@ fn clamp_5f0819() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); - var arg_2 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); + var arg_2 = vec3(1i); var res : vec3 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl index ab33debaea..32b60727d9 100644 --- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl +++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl @@ -23,9 +23,9 @@ // fn clamp(vec<2, i32>, vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn clamp_6c1749() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); - var arg_2 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); + var arg_2 = vec2(1i); var res: vec2 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.wgsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.wgsl index 8e4a5ac1a6..e8a853323d 100644 --- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.wgsl @@ -1,7 +1,7 @@ fn clamp_6c1749() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); - var arg_2 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); + var arg_2 = vec2(1i); var res : vec2 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl index 6dfc15e474..6f504fe0fe 100644 --- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl +++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl @@ -23,9 +23,9 @@ // fn clamp(i32, i32, i32) -> i32 fn clamp_b07c65() { - var arg_0 = 1; - var arg_1 = 1; - var arg_2 = 1; + var arg_0 = 1i; + var arg_1 = 1i; + var arg_2 = 1i; var res: i32 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.wgsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.wgsl index ea26e1122b..f254a733f3 100644 --- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.wgsl @@ -1,7 +1,7 @@ fn clamp_b07c65() { - var arg_0 = 1; - var arg_1 = 1; - var arg_2 = 1; + var arg_0 = 1i; + var arg_1 = 1i; + var arg_2 = 1i; var res : i32 = clamp(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl index 67a815bc33..865a629073 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(i32) -> i32 fn countLeadingZeros_6d4656() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.wgsl index 2b8a2721c5..acc83c8785 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_6d4656() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl index 83dba7b863..3368c4cac7 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<3, i32>) -> vec<3, i32> fn countLeadingZeros_7c38a6() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.wgsl index 3e75705fc5..7e394c202a 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_7c38a6() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl index 303408fa60..d55a6340d6 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<2, i32>) -> vec<2, i32> fn countLeadingZeros_858d40() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.wgsl index 9641853620..a4f4103874 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_858d40() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl index 0bea18aaa1..a8b360ce1a 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl @@ -23,7 +23,7 @@ // fn countLeadingZeros(vec<4, i32>) -> vec<4, i32> fn countLeadingZeros_eab32b() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.wgsl index c7057d3355..9f507c7be1 100644 --- a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countLeadingZeros_eab32b() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = countLeadingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl index 3e184e5685..b6478219b7 100644 --- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<4, i32>) -> vec<4, i32> fn countOneBits_0f7980() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.wgsl index 739f34dffe..a2477c3f06 100644 --- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_0f7980() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl index 02670bcbac..37d61ed629 100644 --- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<3, i32>) -> vec<3, i32> fn countOneBits_65d2ae() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.wgsl index e3c751adf3..d4b425f084 100644 --- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_65d2ae() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl index 1a2765095d..94f74b0081 100644 --- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(vec<2, i32>) -> vec<2, i32> fn countOneBits_af90e2() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.wgsl index 363086fac5..5a8973a697 100644 --- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_af90e2() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl index e93efb4c7f..df8c24fa5c 100644 --- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl @@ -23,7 +23,7 @@ // fn countOneBits(i32) -> i32 fn countOneBits_fd88b2() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.wgsl index 3712925abe..4ccb893cb5 100644 --- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countOneBits_fd88b2() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = countOneBits(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl index 761c93d5f0..a7937e9b30 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<4, i32>) -> vec<4, i32> fn countTrailingZeros_1dc84a() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.wgsl index 4556332577..cb3d741e28 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_1dc84a() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl index e63bb60174..776ef4f458 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<2, i32>) -> vec<2, i32> fn countTrailingZeros_327c37() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.wgsl index 22d9fb892c..6ef3225839 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_327c37() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl index 6412651085..776484232e 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(i32) -> i32 fn countTrailingZeros_42fed6() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.wgsl index 3007518bd1..dff5522a68 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_42fed6() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl index 3a92479821..149d6effce 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl @@ -23,7 +23,7 @@ // fn countTrailingZeros(vec<3, i32>) -> vec<3, i32> fn countTrailingZeros_acfacb() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.wgsl b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.wgsl index 4e95b9c1e6..af100cca29 100644 --- a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn countTrailingZeros_acfacb() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = countTrailingZeros(arg_0); } diff --git a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl index 12ded4f92d..d21b1e2ae4 100644 --- a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl +++ b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl @@ -23,8 +23,8 @@ // fn dot(vec<4, i32>, vec<4, i32>) -> i32 fn dot_ef6b1d() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res: i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.wgsl index 19a334c045..91534d998f 100644 --- a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn dot_ef6b1d() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res : i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/dot/f1312c.wgsl b/test/tint/builtins/gen/var/dot/f1312c.wgsl index 52b4107f7c..22d8c7a9ca 100644 --- a/test/tint/builtins/gen/var/dot/f1312c.wgsl +++ b/test/tint/builtins/gen/var/dot/f1312c.wgsl @@ -23,8 +23,8 @@ // fn dot(vec<3, i32>, vec<3, i32>) -> i32 fn dot_f1312c() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res: i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.wgsl index e260aa688b..d8c56b31c8 100644 --- a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn dot_f1312c() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res : i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl index ceb4c521f8..e5f070296e 100644 --- a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl +++ b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl @@ -23,8 +23,8 @@ // fn dot(vec<2, i32>, vec<2, i32>) -> i32 fn dot_fc5f7c() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res: i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.wgsl index 8778c2320f..207146c8d4 100644 --- a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn dot_fc5f7c() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res : i32 = dot(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/extractBits/249874.wgsl b/test/tint/builtins/gen/var/extractBits/249874.wgsl index 212395a8a8..f9dfcf725e 100644 --- a/test/tint/builtins/gen/var/extractBits/249874.wgsl +++ b/test/tint/builtins/gen/var/extractBits/249874.wgsl @@ -23,7 +23,7 @@ // fn extractBits(i32, u32, u32) -> i32 fn extractBits_249874() { - var arg_0 = 1; + var arg_0 = 1i; var arg_1 = 1u; var arg_2 = 1u; var res: i32 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.wgsl b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.wgsl index 129115695c..61dba126f0 100644 --- a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_249874() { - var arg_0 = 1; + var arg_0 = 1i; var arg_1 = 1u; var arg_2 = 1u; var res : i32 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl index 38ee048ed0..abab8fb278 100644 --- a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl +++ b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<2, i32>, u32, u32) -> vec<2, i32> fn extractBits_a99a8d() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var arg_1 = 1u; var arg_2 = 1u; var res: vec2 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.wgsl index 1f814034b9..2e681861d6 100644 --- a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_a99a8d() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var arg_1 = 1u; var arg_2 = 1u; var res : vec2 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl index 0b3153d933..3baa1dc0ba 100644 --- a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl +++ b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<3, i32>, u32, u32) -> vec<3, i32> fn extractBits_e04f5d() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var arg_1 = 1u; var arg_2 = 1u; var res: vec3 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.wgsl index f15bb47a07..12627f3cb9 100644 --- a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_e04f5d() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var arg_1 = 1u; var arg_2 = 1u; var res : vec3 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl index 06e0a7217d..b87635e56a 100644 --- a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl +++ b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl @@ -23,7 +23,7 @@ // fn extractBits(vec<4, i32>, u32, u32) -> vec<4, i32> fn extractBits_fb850f() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var arg_1 = 1u; var arg_2 = 1u; var res: vec4 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.wgsl index f8b9c66600..2a702d0640 100644 --- a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn extractBits_fb850f() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var arg_1 = 1u; var arg_2 = 1u; var res : vec4 = extractBits(arg_0, arg_1, arg_2); diff --git a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl index d7887c2836..0a97f65cab 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<3, i32>) -> vec<3, i32> fn firstLeadingBit_35053e() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.wgsl index af23e37014..cbc60cfd25 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_35053e() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl index e2a76c9a4c..ec54a309d1 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(i32) -> i32 fn firstLeadingBit_57a1a3() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.wgsl index fa872659da..afc19e9dc8 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_57a1a3() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl index fb335c252a..5bad165c90 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<2, i32>) -> vec<2, i32> fn firstLeadingBit_a622c2() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.wgsl index 457d5f1d2e..0151285f8f 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_a622c2() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl index 132eabaa09..01db1b2054 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl @@ -23,7 +23,7 @@ // fn firstLeadingBit(vec<4, i32>) -> vec<4, i32> fn firstLeadingBit_c1f940() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.wgsl index 06fd90f3c8..a5610d5815 100644 --- a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstLeadingBit_c1f940() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = firstLeadingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl index c911939cf8..736ef905be 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(i32) -> i32 fn firstTrailingBit_3a2acc() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.wgsl index b3e2dfba69..757cd6d78c 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_3a2acc() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl index 75196a7bee..5195122adf 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<2, i32>) -> vec<2, i32> fn firstTrailingBit_50c072() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.wgsl index 055d7c801d..13c690b3e3 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_50c072() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl index 57da8ed513..8983aeb901 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<3, i32>) -> vec<3, i32> fn firstTrailingBit_7496d6() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.wgsl index 8d9963671b..3909fdee61 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_7496d6() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl index ace5fb380f..bcb4bd0dde 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl @@ -23,7 +23,7 @@ // fn firstTrailingBit(vec<4, i32>) -> vec<4, i32> fn firstTrailingBit_86551b() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.wgsl b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.wgsl index 83011241a4..c6db87c4fa 100644 --- a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn firstTrailingBit_86551b() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = firstTrailingBit(arg_0); } diff --git a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl index 8f0bca4db7..14c5606dfd 100644 --- a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl +++ b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl @@ -23,8 +23,8 @@ // fn insertBits(vec<3, i32>, vec<3, i32>, u32, u32) -> vec<3, i32> fn insertBits_428b0b() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = 1u; var arg_3 = 1u; var res: vec3 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.wgsl b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.wgsl index 3c5e1eea18..d9a37dc8f8 100644 --- a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn insertBits_428b0b() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = 1u; var arg_3 = 1u; var res : vec3 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/65468b.wgsl b/test/tint/builtins/gen/var/insertBits/65468b.wgsl index 2021ae8ac0..f23865de7b 100644 --- a/test/tint/builtins/gen/var/insertBits/65468b.wgsl +++ b/test/tint/builtins/gen/var/insertBits/65468b.wgsl @@ -23,8 +23,8 @@ // fn insertBits(i32, i32, u32, u32) -> i32 fn insertBits_65468b() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var arg_2 = 1u; var arg_3 = 1u; var res: i32 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.wgsl b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.wgsl index c1388577e3..77dce8115e 100644 --- a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn insertBits_65468b() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var arg_2 = 1u; var arg_3 = 1u; var res : i32 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/d86978.wgsl b/test/tint/builtins/gen/var/insertBits/d86978.wgsl index 9208faa3c6..a59ce0b382 100644 --- a/test/tint/builtins/gen/var/insertBits/d86978.wgsl +++ b/test/tint/builtins/gen/var/insertBits/d86978.wgsl @@ -23,8 +23,8 @@ // fn insertBits(vec<4, i32>, vec<4, i32>, u32, u32) -> vec<4, i32> fn insertBits_d86978() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = 1u; var arg_3 = 1u; var res: vec4 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.wgsl b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.wgsl index a54232509f..97ff1e5f06 100644 --- a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn insertBits_d86978() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = 1u; var arg_3 = 1u; var res : vec4 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl index 86b9f4f493..953dd244f4 100644 --- a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl +++ b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl @@ -23,8 +23,8 @@ // fn insertBits(vec<2, i32>, vec<2, i32>, u32, u32) -> vec<2, i32> fn insertBits_fe6ba6() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = 1u; var arg_3 = 1u; var res: vec2 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.wgsl index d6efd197b4..cdd0ab4ae1 100644 --- a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn insertBits_fe6ba6() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = 1u; var arg_3 = 1u; var res : vec2 = insertBits(arg_0, arg_1, arg_2, arg_3); diff --git a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl index 152969f810..86b59d2823 100644 --- a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl +++ b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl @@ -26,7 +26,7 @@ enable f16; // fn ldexp(vec<2, f16>, vec<2, i32>) -> vec<2, f16> fn ldexp_3d90b4() { var arg_0 = vec2(f16()); - var arg_1 = vec2(1); + var arg_1 = vec2(1i); var res: vec2 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.wgsl index c4773b8f7a..5d9c5f864e 100644 --- a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.wgsl @@ -2,7 +2,7 @@ enable f16; fn ldexp_3d90b4() { var arg_0 = vec2(f16()); - var arg_1 = vec2(1); + var arg_1 = vec2(1i); var res : vec2 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl index 2bf526d0ae..6e4c0bff32 100644 --- a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl +++ b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl @@ -26,7 +26,7 @@ enable f16; // fn ldexp(f16, i32) -> f16 fn ldexp_624e0c() { var arg_0 = f16(); - var arg_1 = 1; + var arg_1 = 1i; var res: f16 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.wgsl index 393f1ba872..65e6d4f954 100644 --- a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.wgsl @@ -2,7 +2,7 @@ enable f16; fn ldexp_624e0c() { var arg_0 = f16(); - var arg_1 = 1; + var arg_1 = 1i; var res : f16 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl index 8904fef899..8e7be9782c 100644 --- a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl +++ b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl @@ -26,7 +26,7 @@ enable f16; // fn ldexp(vec<3, f16>, vec<3, i32>) -> vec<3, f16> fn ldexp_7485ce() { var arg_0 = vec3(f16()); - var arg_1 = vec3(1); + var arg_1 = vec3(1i); var res: vec3 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.wgsl index 004f279727..2671e2a07b 100644 --- a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.wgsl @@ -2,7 +2,7 @@ enable f16; fn ldexp_7485ce() { var arg_0 = vec3(f16()); - var arg_1 = vec3(1); + var arg_1 = vec3(1i); var res : vec3 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl index b5b562f70b..13ddb24572 100644 --- a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl +++ b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl @@ -26,7 +26,7 @@ enable f16; // fn ldexp(vec<4, f16>, vec<4, i32>) -> vec<4, f16> fn ldexp_7fa13c() { var arg_0 = vec4(f16()); - var arg_1 = vec4(1); + var arg_1 = vec4(1i); var res: vec4 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.wgsl index 350729e0fb..910f8ea237 100644 --- a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.wgsl @@ -2,7 +2,7 @@ enable f16; fn ldexp_7fa13c() { var arg_0 = vec4(f16()); - var arg_1 = vec4(1); + var arg_1 = vec4(1i); var res : vec4 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl index e6fa75ef8e..82f799f166 100644 --- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl +++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl @@ -24,7 +24,7 @@ // fn ldexp(vec<3, f32>, vec<3, i32>) -> vec<3, f32> fn ldexp_a31cdc() { var arg_0 = vec3(1.f); - var arg_1 = vec3(1); + var arg_1 = vec3(1i); var res: vec3 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.wgsl index 2e5f870926..218a630153 100644 --- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn ldexp_a31cdc() { var arg_0 = vec3(1.0f); - var arg_1 = vec3(1); + var arg_1 = vec3(1i); var res : vec3 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl index 2ac13ae88c..d95072b179 100644 --- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl +++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl @@ -24,7 +24,7 @@ // fn ldexp(vec<2, f32>, vec<2, i32>) -> vec<2, f32> fn ldexp_abd718() { var arg_0 = vec2(1.f); - var arg_1 = vec2(1); + var arg_1 = vec2(1i); var res: vec2 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.wgsl index 92b66d8c49..a80333e14f 100644 --- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn ldexp_abd718() { var arg_0 = vec2(1.0f); - var arg_1 = vec2(1); + var arg_1 = vec2(1i); var res : vec2 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl index 2fe0571124..3148f30491 100644 --- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl +++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl @@ -24,7 +24,7 @@ // fn ldexp(vec<4, f32>, vec<4, i32>) -> vec<4, f32> fn ldexp_cc9cde() { var arg_0 = vec4(1.f); - var arg_1 = vec4(1); + var arg_1 = vec4(1i); var res: vec4 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.wgsl index ac164c7655..f59650a4c1 100644 --- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn ldexp_cc9cde() { var arg_0 = vec4(1.0f); - var arg_1 = vec4(1); + var arg_1 = vec4(1i); var res : vec4 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl index 5caec47f7d..886317f824 100644 --- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl +++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl @@ -24,7 +24,7 @@ // fn ldexp(f32, i32) -> f32 fn ldexp_db8b49() { var arg_0 = 1.f; - var arg_1 = 1; + var arg_1 = 1i; var res: f32 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.wgsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.wgsl index b20b79c7d3..94edda74c2 100644 --- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn ldexp_db8b49() { var arg_0 = 1.0f; - var arg_1 = 1; + var arg_1 = 1i; var res : f32 = ldexp(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl b/test/tint/builtins/gen/var/max/25eafe.wgsl index eb27d08b8e..656bf37fe4 100644 --- a/test/tint/builtins/gen/var/max/25eafe.wgsl +++ b/test/tint/builtins/gen/var/max/25eafe.wgsl @@ -23,8 +23,8 @@ // fn max(vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn max_25eafe() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res: vec3 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.wgsl b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.wgsl index 0c6eb03b3a..61a61ebb35 100644 --- a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn max_25eafe() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res : vec3 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl index f4e4e7a391..46cee3eadc 100644 --- a/test/tint/builtins/gen/var/max/85e6bc.wgsl +++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl @@ -23,8 +23,8 @@ // fn max(vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn max_85e6bc() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res: vec4 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.wgsl index 64f813bb6c..b7948b5798 100644 --- a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn max_85e6bc() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res : vec4 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl index d478d0b442..3590105c54 100644 --- a/test/tint/builtins/gen/var/max/ce7c30.wgsl +++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl @@ -23,8 +23,8 @@ // fn max(i32, i32) -> i32 fn max_ce7c30() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var res: i32 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.wgsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.wgsl index 830432685c..900c6ea46e 100644 --- a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn max_ce7c30() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var res : i32 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl b/test/tint/builtins/gen/var/max/e8192f.wgsl index 6bc1049fa0..68ea3b3a00 100644 --- a/test/tint/builtins/gen/var/max/e8192f.wgsl +++ b/test/tint/builtins/gen/var/max/e8192f.wgsl @@ -23,8 +23,8 @@ // fn max(vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn max_e8192f() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res: vec2 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.wgsl index e102472da8..9798a034c0 100644 --- a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn max_e8192f() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res : vec2 = max(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl index 7a4a432368..778a8379be 100644 --- a/test/tint/builtins/gen/var/min/03c7e3.wgsl +++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl @@ -23,8 +23,8 @@ // fn min(vec<2, i32>, vec<2, i32>) -> vec<2, i32> fn min_03c7e3() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res: vec2 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.wgsl index 17f1a72d9b..166ff30ab2 100644 --- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn min_03c7e3() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var res : vec2 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl b/test/tint/builtins/gen/var/min/3941e1.wgsl index 2b9849596d..79581013bd 100644 --- a/test/tint/builtins/gen/var/min/3941e1.wgsl +++ b/test/tint/builtins/gen/var/min/3941e1.wgsl @@ -23,8 +23,8 @@ // fn min(vec<4, i32>, vec<4, i32>) -> vec<4, i32> fn min_3941e1() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res: vec4 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.wgsl index f2683dbe67..112a2b783a 100644 --- a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn min_3941e1() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var res : vec4 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl b/test/tint/builtins/gen/var/min/a45171.wgsl index 993e850341..3d982c88e6 100644 --- a/test/tint/builtins/gen/var/min/a45171.wgsl +++ b/test/tint/builtins/gen/var/min/a45171.wgsl @@ -23,8 +23,8 @@ // fn min(vec<3, i32>, vec<3, i32>) -> vec<3, i32> fn min_a45171() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res: vec3 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.wgsl b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.wgsl index a5ea2e4e70..a757288f19 100644 --- a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn min_a45171() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var res : vec3 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl b/test/tint/builtins/gen/var/min/c73147.wgsl index c86d5a2988..c361893ae8 100644 --- a/test/tint/builtins/gen/var/min/c73147.wgsl +++ b/test/tint/builtins/gen/var/min/c73147.wgsl @@ -23,8 +23,8 @@ // fn min(i32, i32) -> i32 fn min_c73147() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var res: i32 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.wgsl b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.wgsl index 035e6661d9..d174fe58b8 100644 --- a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn min_c73147() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var res : i32 = min(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl index cd026db1a5..0e6e37c5d2 100644 --- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<2, i32>) -> vec<2, i32> fn reverseBits_222177() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res: vec2 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.wgsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.wgsl index 52fc3b9df1..5be6d2a9ab 100644 --- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_222177() { - var arg_0 = vec2(1); + var arg_0 = vec2(1i); var res : vec2 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl index 72ca2467ed..205ea1149e 100644 --- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<4, i32>) -> vec<4, i32> fn reverseBits_4dbd6f() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res: vec4 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.wgsl index 03df4481cd..da84b889e5 100644 --- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_4dbd6f() { - var arg_0 = vec4(1); + var arg_0 = vec4(1i); var res : vec4 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl index 464b045ce0..5e8ff44232 100644 --- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(i32) -> i32 fn reverseBits_7c4269() { - var arg_0 = 1; + var arg_0 = 1i; var res: i32 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.wgsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.wgsl index d5c8ac15a4..dd2d69cdad 100644 --- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_7c4269() { - var arg_0 = 1; + var arg_0 = 1i; var res : i32 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl index d079d7b696..67701e4473 100644 --- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl @@ -23,7 +23,7 @@ // fn reverseBits(vec<3, i32>) -> vec<3, i32> fn reverseBits_c21bc1() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res: vec3 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.wgsl index 798bd2dc48..7f593fdbd9 100644 --- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.wgsl @@ -1,5 +1,5 @@ fn reverseBits_c21bc1() { - var arg_0 = vec3(1); + var arg_0 = vec3(1i); var res : vec3 = reverseBits(arg_0); } diff --git a/test/tint/builtins/gen/var/select/00b848.wgsl b/test/tint/builtins/gen/var/select/00b848.wgsl index c6132122be..9206aa4e7c 100644 --- a/test/tint/builtins/gen/var/select/00b848.wgsl +++ b/test/tint/builtins/gen/var/select/00b848.wgsl @@ -23,8 +23,8 @@ // fn select(vec<2, i32>, vec<2, i32>, vec<2, bool>) -> vec<2, i32> fn select_00b848() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = vec2(true); var res: vec2 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.wgsl index f386dd5ab5..c4cd92ce76 100644 --- a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_00b848() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = vec2(true); var res : vec2 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/01e2cd.wgsl b/test/tint/builtins/gen/var/select/01e2cd.wgsl index dce82d0ae6..4bab23939a 100644 --- a/test/tint/builtins/gen/var/select/01e2cd.wgsl +++ b/test/tint/builtins/gen/var/select/01e2cd.wgsl @@ -23,8 +23,8 @@ // fn select(vec<3, i32>, vec<3, i32>, vec<3, bool>) -> vec<3, i32> fn select_01e2cd() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = vec3(true); var res: vec3 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.wgsl index b12547295d..631a3012fb 100644 --- a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_01e2cd() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = vec3(true); var res : vec3 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/8fa62c.wgsl b/test/tint/builtins/gen/var/select/8fa62c.wgsl index ef3c4ff21b..0fbee4a528 100644 --- a/test/tint/builtins/gen/var/select/8fa62c.wgsl +++ b/test/tint/builtins/gen/var/select/8fa62c.wgsl @@ -23,8 +23,8 @@ // fn select(vec<3, i32>, vec<3, i32>, bool) -> vec<3, i32> fn select_8fa62c() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = true; var res: vec3 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.wgsl index 906f330388..4be16e09dc 100644 --- a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_8fa62c() { - var arg_0 = vec3(1); - var arg_1 = vec3(1); + var arg_0 = vec3(1i); + var arg_1 = vec3(1i); var arg_2 = true; var res : vec3 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/a2860e.wgsl b/test/tint/builtins/gen/var/select/a2860e.wgsl index db8953d907..9788782d72 100644 --- a/test/tint/builtins/gen/var/select/a2860e.wgsl +++ b/test/tint/builtins/gen/var/select/a2860e.wgsl @@ -23,8 +23,8 @@ // fn select(vec<4, i32>, vec<4, i32>, vec<4, bool>) -> vec<4, i32> fn select_a2860e() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = vec4(true); var res: vec4 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.wgsl index e9b8e2993a..361cf3d336 100644 --- a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_a2860e() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = vec4(true); var res : vec4 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/ab069f.wgsl b/test/tint/builtins/gen/var/select/ab069f.wgsl index e30f78a618..052fc6bc9b 100644 --- a/test/tint/builtins/gen/var/select/ab069f.wgsl +++ b/test/tint/builtins/gen/var/select/ab069f.wgsl @@ -23,8 +23,8 @@ // fn select(vec<4, i32>, vec<4, i32>, bool) -> vec<4, i32> fn select_ab069f() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = true; var res: vec4 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.wgsl index 609b9e0b97..deee19d318 100644 --- a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_ab069f() { - var arg_0 = vec4(1); - var arg_1 = vec4(1); + var arg_0 = vec4(1i); + var arg_1 = vec4(1i); var arg_2 = true; var res : vec4 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/bb447f.wgsl b/test/tint/builtins/gen/var/select/bb447f.wgsl index f2012e7b95..bb73ce962b 100644 --- a/test/tint/builtins/gen/var/select/bb447f.wgsl +++ b/test/tint/builtins/gen/var/select/bb447f.wgsl @@ -23,8 +23,8 @@ // fn select(vec<2, i32>, vec<2, i32>, bool) -> vec<2, i32> fn select_bb447f() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = true; var res: vec2 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.wgsl index 2c7b78912d..1275623fce 100644 --- a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_bb447f() { - var arg_0 = vec2(1); - var arg_1 = vec2(1); + var arg_0 = vec2(1i); + var arg_1 = vec2(1i); var arg_2 = true; var res : vec2 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/ed8a15.wgsl b/test/tint/builtins/gen/var/select/ed8a15.wgsl index 4569fc521f..fd5055b25d 100644 --- a/test/tint/builtins/gen/var/select/ed8a15.wgsl +++ b/test/tint/builtins/gen/var/select/ed8a15.wgsl @@ -23,8 +23,8 @@ // fn select(i32, i32, bool) -> i32 fn select_ed8a15() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var arg_2 = true; var res: i32 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.wgsl b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.wgsl index c3607cc237..0314f1614f 100644 --- a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.wgsl @@ -1,6 +1,6 @@ fn select_ed8a15() { - var arg_0 = 1; - var arg_1 = 1; + var arg_0 = 1i; + var arg_1 = 1i; var arg_2 = true; var res : i32 = select(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl b/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl index 7361cba087..94750c63f4 100644 --- a/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_2d, level: i32) -> vec2 fn textureDimensions_12c9bb() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl.expected.wgsl index bbeb242256..8ef535cc4e 100644 --- a/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/12c9bb.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d; fn textureDimensions_12c9bb() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl b/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl index 5ef2dd65e9..bd9828d940 100644 --- a/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_221f22() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl.expected.wgsl index 3d8724580d..b47617893d 100644 --- a/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/221f22.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_221f22() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/267788.wgsl b/test/tint/builtins/gen/var/textureDimensions/267788.wgsl index d3f2e9fe87..ce14233109 100644 --- a/test/tint/builtins/gen/var/textureDimensions/267788.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/267788.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_267788() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/267788.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/267788.wgsl.expected.wgsl index 75e5f8413c..f07514ebfa 100644 --- a/test/tint/builtins/gen/var/textureDimensions/267788.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/267788.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_267788() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl b/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl index b5d16cb486..4b9e6aeb41 100644 --- a/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_26bdfa() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl.expected.wgsl index 66415999bb..f504ed797d 100644 --- a/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/26bdfa.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_26bdfa() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl b/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl index 8255516421..b31f2c3ce6 100644 --- a/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_2efa05() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl.expected.wgsl index f2a2fd3533..13277d52ed 100644 --- a/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/2efa05.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_2efa05() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl b/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl index 94d9227d50..998792d9ce 100644 --- a/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_2fe1cc() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl.expected.wgsl index 9b45aa5c3c..95cccb61c2 100644 --- a/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/2fe1cc.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_2fe1cc() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl b/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl index 2304162a56..c71fce7b1d 100644 --- a/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_50a9ee() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl.expected.wgsl index 137aadfa33..b1a4a8ea65 100644 --- a/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/50a9ee.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_50a9ee() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl b/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl index 3bf674388f..42b5c7bae6 100644 --- a/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_52045c() { - var arg_1 = 0; + var arg_1 = 0i; var res: i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl.expected.wgsl index ea3568c4d3..cd80f61858 100644 --- a/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/52045c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_52045c() { - var arg_1 = 0; + var arg_1 = 0i; var res : i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl b/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl index 588648e5ea..441ff45cd1 100644 --- a/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_686ef2() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl.expected.wgsl index df409b74f8..5f161e3605 100644 --- a/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/686ef2.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_686ef2() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl b/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl index 4eb4f83a24..ed77cb1d03 100644 --- a/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_2d_array, level: i32) -> vec2 fn textureDimensions_72e5d6() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl.expected.wgsl index a6f1b85a29..18551b61d4 100644 --- a/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/72e5d6.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_2d_array; fn textureDimensions_72e5d6() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl b/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl index bd1b094339..4618ff4556 100644 --- a/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_79df87() { - var arg_1 = 0; + var arg_1 = 0i; var res: i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl.expected.wgsl index 23db8dc9e7..504e21ee49 100644 --- a/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/79df87.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_79df87() { - var arg_1 = 0; + var arg_1 = 0i; var res : i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl b/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl index bcfb646b01..a01c88a21b 100644 --- a/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_85d556() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl.expected.wgsl index 4297cfbea6..d547ad0b42 100644 --- a/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/85d556.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_85d556() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl b/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl index 659abf0d8c..07bafd9000 100644 --- a/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_88ad17() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl.expected.wgsl index c7755b863c..0df5ec216b 100644 --- a/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/88ad17.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_88ad17() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl b/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl index e45b0a375c..cfdf11219a 100644 --- a/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_cube, level: i32) -> vec2 fn textureDimensions_9393b0() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl.expected.wgsl index f46b018d11..1c2d41baf8 100644 --- a/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/9393b0.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_cube; fn textureDimensions_9393b0() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl b/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl index 0ee2674e19..6b2841d4d9 100644 --- a/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d_array, level: i32) -> vec2 fn textureDimensions_9c9c57() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl.expected.wgsl index cffe4b1ba8..b2b4c503e2 100644 --- a/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/9c9c57.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d_array; fn textureDimensions_9c9c57() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl b/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl index cd7e23a9ac..4124e8b93a 100644 --- a/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_depth_cube_array, level: i32) -> vec2 fn textureDimensions_a01845() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl.expected.wgsl index 8d395050cd..d46a0a4644 100644 --- a/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/a01845.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_depth_cube_array; fn textureDimensions_a01845() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl b/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl index 721880be5d..e0e9ad40ca 100644 --- a/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube, level: i32) -> vec2 fn textureDimensions_a9c9c1() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl.expected.wgsl index a878fe0575..189fe4aaa5 100644 --- a/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/a9c9c1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube; fn textureDimensions_a9c9c1() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl b/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl index f7069d2561..50817b3b22 100644 --- a/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_b0e16d() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl.expected.wgsl index 06f39cf7c5..04d66567d0 100644 --- a/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/b0e16d.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_b0e16d() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl b/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl index 0c9bbee371..21ab81c3f6 100644 --- a/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_1d, level: i32) -> i32 fn textureDimensions_b3e407() { - var arg_1 = 0; + var arg_1 = 0i; var res: i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl.expected.wgsl index 95f3a26f99..455da6eafa 100644 --- a/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/b3e407.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureDimensions_b3e407() { - var arg_1 = 0; + var arg_1 = 0i; var res : i32 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl b/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl index 78cc307ae0..c78c48a81a 100644 --- a/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_cube_array, level: i32) -> vec2 fn textureDimensions_d83c45() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl.expected.wgsl index 13f8d6b1ed..cd728183d8 100644 --- a/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/d83c45.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_cube_array; fn textureDimensions_d83c45() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl b/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl index 3f12ffe3d1..8172b1f626 100644 --- a/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_3d, level: i32) -> vec3 fn textureDimensions_efc8a4() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl.expected.wgsl index f65550d1c5..1c2e67eb92 100644 --- a/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/efc8a4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_3d; fn textureDimensions_efc8a4() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec3 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl b/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl index e40ebb4b9b..bb4ce221cc 100644 --- a/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl @@ -24,7 +24,7 @@ // fn textureDimensions(texture: texture_2d, level: i32) -> vec2 fn textureDimensions_f7145b() { - var arg_1 = 0; + var arg_1 = 0i; var res: vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl.expected.wgsl index a04f27d1fe..1a49696186 100644 --- a/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureDimensions/f7145b.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_2d; fn textureDimensions_f7145b() { - var arg_1 = 0; + var arg_1 = 0i; var res : vec2 = textureDimensions(arg_0, arg_1); } diff --git a/test/tint/builtins/gen/var/textureGather/22e930.wgsl b/test/tint/builtins/gen/var/textureGather/22e930.wgsl index f2ff88ceac..0128b0e06a 100644 --- a/test/tint/builtins/gen/var/textureGather/22e930.wgsl +++ b/test/tint/builtins/gen/var/textureGather/22e930.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_22e930() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.wgsl index 76f793e13b..f26e58c00b 100644 --- a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_22e930() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl index bead55e495..997c0ad7c6 100644 --- a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl +++ b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_2cc066() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.wgsl index b160e403c6..14d6c50229 100644 --- a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_2cc066() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl index 9065700718..8819419f4c 100644 --- a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl +++ b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_32c4e8() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.wgsl index 8e86b1576f..e93f80cbe3 100644 --- a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_32c4e8() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl index b2746f2d2b..52a131e209 100644 --- a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl +++ b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_3b32cc() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.wgsl index 08fdd021d5..a7963b2a61 100644 --- a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_3b32cc() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl index 2b66be7162..ccd65bdbf7 100644 --- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl +++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl @@ -26,7 +26,7 @@ // fn textureGather(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_43025d() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.wgsl index 8624141d78..12337c72fd 100644 --- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGather_43025d() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl index d175a8b46c..09fe4aa284 100644 --- a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl +++ b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_49b07f() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.wgsl index ae74eb8fdb..bba9c029d3 100644 --- a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_49b07f() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl index 6daeab03e4..f49a5ebce4 100644 --- a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl +++ b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_4b8103() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.wgsl index ae9f404701..d7bba31be5 100644 --- a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_4b8103() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/5266da.wgsl b/test/tint/builtins/gen/var/textureGather/5266da.wgsl index c7bd8a614a..29584a3701 100644 --- a/test/tint/builtins/gen/var/textureGather/5266da.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5266da.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_5266da() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.wgsl index e7aa64bd06..b3469f785d 100644 --- a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5266da() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl index c2dc744840..37ad80abab 100644 --- a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_cube, sampler: sampler, coords: vec3) -> vec4 fn textureGather_5ba85f() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.wgsl index 8ac834511b..d2a3918065 100644 --- a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5ba85f() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl index 3a17d5a329..1e5c68f950 100644 --- a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_5bd491() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.wgsl index 4e5fc6f705..835c7abae2 100644 --- a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_5bd491() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl index 4caa90752d..304233aa82 100644 --- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl +++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_751f8a() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.wgsl index 2e05c777b4..6d844ccb0d 100644 --- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_751f8a() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl index 1148627839..1399be91d4 100644 --- a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl +++ b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_7c3828() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.wgsl index 9b6d7ef20e..70760c99bc 100644 --- a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_7c3828() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl index 809f109b43..6fe4a5edd8 100644 --- a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl +++ b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_8b754c() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.wgsl index 2beed6a3d1..bc214ebdff 100644 --- a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_8b754c() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl index 3a30a4237a..48f44fa517 100644 --- a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl +++ b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl @@ -26,7 +26,7 @@ // fn textureGather(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureGather_9a6358() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.wgsl index 4c3a7ec896..7d85b1ba8a 100644 --- a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGather_9a6358() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl index 96c6725a5a..fe080844f0 100644 --- a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl +++ b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2, @const offset: vec2) -> vec4 fn textureGather_af55b3() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.wgsl index ea1374cb13..027213b636 100644 --- a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_af55b3() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); const arg_4 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); diff --git a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl index 94fba14904..1d90408e97 100644 --- a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl +++ b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl @@ -25,7 +25,7 @@ // fn textureGather(@const component: i32, texture: texture_2d, sampler: sampler, coords: vec2) -> vec4 fn textureGather_bb3ac5() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.wgsl index 13e9938614..495e907b48 100644 --- a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.wgsl @@ -3,7 +3,7 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_bb3ac5() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl index a0398d9b07..4cf7792b1b 100644 --- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl +++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_c0640c() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.wgsl index 3ed25dcc70..eae1f9a56c 100644 --- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_c0640c() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl index 40ccaf0157..81533b289d 100644 --- a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl +++ b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_d1f187() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.wgsl index 3c4f11bdcd..c7522daeda 100644 --- a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_d1f187() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/d90605.wgsl b/test/tint/builtins/gen/var/textureGather/d90605.wgsl index 85734df3da..5e9106bb22 100644 --- a/test/tint/builtins/gen/var/textureGather/d90605.wgsl +++ b/test/tint/builtins/gen/var/textureGather/d90605.wgsl @@ -26,7 +26,7 @@ // fn textureGather(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_d90605() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.wgsl index be814a990a..32f00b370b 100644 --- a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGather_d90605() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl index cb747a77d9..167a0b2aea 100644 --- a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl +++ b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureGather_e9d390() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.wgsl index 6ae61fdd16..6cf5907719 100644 --- a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_e9d390() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec2(); - var arg_4 = 1; + var arg_4 = 1i; const arg_5 = vec2(); var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl index bacb2fcabf..b1bdb2d92f 100644 --- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl +++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl @@ -25,9 +25,9 @@ // fn textureGather(@const component: i32, texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureGather_f2c6e3() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res: vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.wgsl index b689b71080..3a4243c5f4 100644 --- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.wgsl @@ -3,9 +3,9 @@ @group(1) @binding(2) var arg_2 : sampler; fn textureGather_f2c6e3() { - const arg_0 = 1; + const arg_0 = 1i; var arg_3 = vec3(); - var arg_4 = 1; + var arg_4 = 1i; var res : vec4 = textureGather(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl index 1a8d76d2cb..bfb5ad1d0d 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl @@ -26,7 +26,7 @@ // fn textureGatherCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> vec4 fn textureGatherCompare_60d2d1() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.wgsl index 7dd1a55cd5..4ecb26c565 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGatherCompare_60d2d1() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl index c773ac66fa..f3d7bbbfa8 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl @@ -26,7 +26,7 @@ // fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> vec4 fn textureGatherCompare_783e65() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.wgsl index 382239d237..f6d5b8fe20 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGatherCompare_783e65() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl index 2ee4b70cc7..a9cb427c65 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl @@ -26,7 +26,7 @@ // fn textureGatherCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> vec4 fn textureGatherCompare_f585cc() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; const arg_5 = vec2(); var res: vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.wgsl index 0fd04a09d8..e3983d2bba 100644 --- a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureGatherCompare_f585cc() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; const arg_5 = vec2(); var res : vec4 = textureGatherCompare(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl index f24f2f58e6..3a6db872db 100644 --- a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_depth_2d, coords: vec2, level: i32) -> f32 fn textureLoad_19cf87() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res: f32 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.wgsl index af6d6de79a..f04a198526 100644 --- a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_19cf87() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res : f32 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl index 8125e86e47..b3f3fa929d 100644 --- a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl @@ -24,8 +24,8 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_1b8588() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.wgsl index 41cc6cb143..c3bbb7eb2d 100644 --- a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.wgsl @@ -1,8 +1,8 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_1b8588() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl index 54d0cbd5b0..8b82ff05c9 100644 --- a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_1f2016() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.wgsl index f03bb4f292..dba4e9216f 100644 --- a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_1f2016() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/484344.wgsl b/test/tint/builtins/gen/var/textureLoad/484344.wgsl index bd7a13b5e7..8fa64325e4 100644 --- a/test/tint/builtins/gen/var/textureLoad/484344.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/484344.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_484344() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.wgsl index c4f317409e..14020bbc83 100644 --- a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_484344() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl index 5a65374ddd..e65d52208d 100644 --- a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_4fd803() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.wgsl index 300acfd649..649d7f324c 100644 --- a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_4fd803() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl index 1386c0f2ce..f0b3299885 100644 --- a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl @@ -24,8 +24,8 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_5a2f9d() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.wgsl index ea4cf9132a..43eb26e1b2 100644 --- a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.wgsl @@ -1,8 +1,8 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_5a2f9d() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl index 9d2d0fe84f..f3115cd3ac 100644 --- a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_6154d4() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.wgsl index def8ddb420..429e87af2e 100644 --- a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_6154d4() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl index 353a76b1f6..ed10b36c3f 100644 --- a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_depth_multisampled_2d, coords: vec2, sample_index: i32) -> f32 fn textureLoad_6273b1() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res: f32 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.wgsl index f62b81f696..7ef8de4a30 100644 --- a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_6273b1() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res : f32 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl index cfb561e92b..efd9462b77 100644 --- a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl @@ -25,8 +25,8 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_79e697() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.wgsl index e792f8b9aa..86635f0522 100644 --- a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.wgsl @@ -2,8 +2,8 @@ fn textureLoad_79e697() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl index 2fcb74dd6a..36378e8854 100644 --- a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl @@ -25,8 +25,8 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_7c90e5() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.wgsl index 5c79550378..fdfb831c8c 100644 --- a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.wgsl @@ -2,8 +2,8 @@ fn textureLoad_7c90e5() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl index e2122a30ef..c63195d892 100644 --- a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl @@ -24,8 +24,8 @@ // fn textureLoad(texture: texture_1d, coords: i32, level: i32) -> vec4 fn textureLoad_81c381() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.wgsl index 65bb5f55a3..afc3afc2a4 100644 --- a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.wgsl @@ -1,8 +1,8 @@ @group(1) @binding(0) var arg_0 : texture_1d; fn textureLoad_81c381() { - var arg_1 = 1; - var arg_2 = 0; + var arg_1 = 1i; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl index 6df953e8e5..b78abe8eab 100644 --- a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl @@ -25,8 +25,8 @@ // fn textureLoad(texture: texture_2d_array, coords: vec2, array_index: i32, level: i32) -> vec4 fn textureLoad_87be85() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.wgsl index 277a603873..d65cdae5e4 100644 --- a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.wgsl @@ -2,8 +2,8 @@ fn textureLoad_87be85() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl index 923b74a01e..fb3b6e537a 100644 --- a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl @@ -25,8 +25,8 @@ // fn textureLoad(texture: texture_depth_2d_array, coords: vec2, array_index: i32, level: i32) -> f32 fn textureLoad_9b2667() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res: f32 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.wgsl index 3b7f1292d2..17bb2b8c7c 100644 --- a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.wgsl @@ -2,8 +2,8 @@ fn textureLoad_9b2667() { var arg_1 = vec2(); - var arg_2 = 1; - var arg_3 = 0; + var arg_2 = 1i; + var arg_3 = 0i; var res : f32 = textureLoad(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl index ca7533e510..185b1bb3a4 100644 --- a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_a583c9() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.wgsl index 5a92faa62d..8a73dde876 100644 --- a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_a583c9() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl index 98ff406425..f1a9999c41 100644 --- a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_3d, coords: vec3, level: i32) -> vec4 fn textureLoad_a9a9f5() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.wgsl index 660e8183a1..f2be3fb4f9 100644 --- a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_a9a9f5() { var arg_1 = vec3(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl index 9d525992c5..3f78f3c884 100644 --- a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_2d, coords: vec2, level: i32) -> vec4 fn textureLoad_c2a480() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.wgsl index 1ba5cbd123..b5a4660b7c 100644 --- a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_c2a480() { var arg_1 = vec2(); - var arg_2 = 0; + var arg_2 = 0i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl index 357971ef28..9c585acde9 100644 --- a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_c378ee() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.wgsl index cb6fd49690..fa004353c6 100644 --- a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_c378ee() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl index a856096fbc..a2b9f55a1d 100644 --- a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl @@ -25,7 +25,7 @@ // fn textureLoad(texture: texture_multisampled_2d, coords: vec2, sample_index: i32) -> vec4 fn textureLoad_e3d2cc() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res: vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.wgsl index f1f2971c7e..6dd2d7de3d 100644 --- a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureLoad_e3d2cc() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var res : vec4 = textureLoad(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureSample/17e988.wgsl b/test/tint/builtins/gen/var/textureSample/17e988.wgsl index 470c430796..e42371f00d 100644 --- a/test/tint/builtins/gen/var/textureSample/17e988.wgsl +++ b/test/tint/builtins/gen/var/textureSample/17e988.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> vec4 fn textureSample_17e988() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res: vec4 = textureSample(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.wgsl index 120b954535..586d22e23b 100644 --- a/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_17e988() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res : vec4 = textureSample(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl index d8bc994140..6f30c35acd 100644 --- a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl +++ b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> vec4 fn textureSample_4dd1bf() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res: vec4 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.wgsl index a496a7c957..f20de37831 100644 --- a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_4dd1bf() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res : vec4 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl index 8aadc7a69f..1f61dc8463 100644 --- a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl +++ b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, @const offset: vec2) -> f32 fn textureSample_60bf45() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res: f32 = textureSample(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.wgsl index 8acade4b93..dfcc39c298 100644 --- a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_60bf45() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; const arg_4 = vec2(); var res : f32 = textureSample(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl index 8a73b9f889..202aa337f9 100644 --- a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl +++ b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> vec4 fn textureSample_6717ca() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res: vec4 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.wgsl index e9a77815c7..037b29baa1 100644 --- a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_6717ca() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res : vec4 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl index 45dce87df4..1b24313a43 100644 --- a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl +++ b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32) -> f32 fn textureSample_7e9ffd() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res: f32 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.wgsl index 87713db128..541e9b95e9 100644 --- a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_7e9ffd() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var res : f32 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl index d4ca75fc9b..03182518b6 100644 --- a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl +++ b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl @@ -26,7 +26,7 @@ // fn textureSample(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32) -> f32 fn textureSample_c2f4e8() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res: f32 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.wgsl index 4698069191..f6b719294d 100644 --- a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSample_c2f4e8() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var res : f32 = textureSample(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl index f3281a1560..cfded589e6 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl @@ -26,7 +26,7 @@ // fn textureSampleBias(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, bias: f32) -> vec4 fn textureSampleBias_80e579() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.wgsl index 98cecfb304..4b76b6f6de 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleBias_80e579() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl index 7283eece78..8c4c4caf31 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl @@ -26,7 +26,7 @@ // fn textureSampleBias(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, bias: f32, @const offset: vec2) -> vec4 fn textureSampleBias_9dbb51() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; const arg_5 = vec2(); var res: vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.wgsl index 52e98658f6..4216bf6d3e 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleBias_9dbb51() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; const arg_5 = vec2(); var res : vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl index 0816267a42..7c7de5d51a 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl @@ -26,7 +26,7 @@ // fn textureSampleBias(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, bias: f32) -> vec4 fn textureSampleBias_eed7c4() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.wgsl index 1098aca538..d5a885b609 100644 --- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleBias_eed7c4() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureSampleBias(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl index 59f967f0b9..4dbfd9cbb9 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompare(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompare_a3ca7e() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.wgsl index dd14a37ff0..3c4c8f1cd8 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompare_a3ca7e() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl index 7d10cd720b..9d166867f7 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> f32 fn textureSampleCompare_af1051() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; const arg_5 = vec2(); var res: f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.wgsl index c67e82e2d2..c2b26358f8 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompare_af1051() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; const arg_5 = vec2(); var res : f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl index 98a899c5cb..67dbb4ad52 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompare(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompare_dd431d() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.wgsl index e952b174a8..7026776132 100644 --- a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompare_dd431d() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : f32 = textureSampleCompare(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl index 60f55ecf09..26ae13c1ad 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompareLevel_1116ed() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl index c8886981a9..edd07be63c 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompareLevel_1116ed() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl index c1f64a89c2..7496cc6944 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_cube_array, sampler: sampler_comparison, coords: vec3, array_index: i32, depth_ref: f32) -> f32 fn textureSampleCompareLevel_4cf3a2() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl index cae5cd45d7..3c4b44a477 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompareLevel_4cf3a2() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl index 0cc0ea73b4..08c8a3a3aa 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl @@ -26,7 +26,7 @@ // fn textureSampleCompareLevel(texture: texture_depth_2d_array, sampler: sampler_comparison, coords: vec2, array_index: i32, depth_ref: f32, @const offset: vec2) -> f32 fn textureSampleCompareLevel_b6e47c() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; const arg_5 = vec2(); var res: f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl index 9f88b6ff14..518c525bb6 100644 --- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleCompareLevel_b6e47c() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; const arg_5 = vec2(); var res : f32 = textureSampleCompareLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl index bd213fd8cc..a52349948c 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl @@ -26,7 +26,7 @@ // fn textureSampleGrad(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, ddx: vec2, ddy: vec2) -> vec4 fn textureSampleGrad_2ecd8f() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec2(); var arg_5 = vec2(); var res: vec4 = textureSampleGrad(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.wgsl index 32c526c18f..84604a25fa 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleGrad_2ecd8f() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec2(); var arg_5 = vec2(); var res : vec4 = textureSampleGrad(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl index 37b9744d68..165faad669 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl @@ -26,7 +26,7 @@ // fn textureSampleGrad(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, ddx: vec2, ddy: vec2, @const offset: vec2) -> vec4 fn textureSampleGrad_d65515() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec2(); var arg_5 = vec2(); const arg_6 = vec2(); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.wgsl index 08dff47688..1397fcf78e 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleGrad_d65515() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec2(); var arg_5 = vec2(); const arg_6 = vec2(); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl index 74692eab78..ff1e7cf33d 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl @@ -26,7 +26,7 @@ // fn textureSampleGrad(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, ddx: vec3, ddy: vec3) -> vec4 fn textureSampleGrad_e383db() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec3(); var arg_5 = vec3(); var res: vec4 = textureSampleGrad(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.wgsl index 7271812142..792b22d33e 100644 --- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleGrad_e383db() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = vec3(); var arg_5 = vec3(); var res : vec4 = textureSampleGrad(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl index 70348ab7f1..62d6a248c0 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2, level: i32) -> f32 fn textureSampleLevel_02be59() { var arg_2 = vec2(); - var arg_3 = 0; + var arg_3 = 0i; var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.wgsl index 16b70a60af..186ca2aa13 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_02be59() { var arg_2 = vec2(); - var arg_3 = 0; + var arg_3 = 0i; var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl index 95560d85c2..a7858f0cc4 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_cube_array, sampler: sampler, coords: vec3, array_index: i32, level: f32) -> vec4 fn textureSampleLevel_0bdd9a() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.wgsl index 80e15ab12e..554139b3b2 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_0bdd9a() { var arg_2 = vec3(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl index a4be615351..0280ed2ff9 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_depth_cube, sampler: sampler, coords: vec3, level: i32) -> f32 fn textureSampleLevel_1b0291() { var arg_2 = vec3(); - var arg_3 = 0; + var arg_3 = 0i; var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.wgsl index 5bae229fb7..ebafb9a03e 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_1b0291() { var arg_2 = vec3(); - var arg_3 = 0; + var arg_3 = 0i; var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl index 3eb753e3fa..662a3cf9ab 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl @@ -26,8 +26,8 @@ // fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: i32) -> f32 fn textureSampleLevel_1bf73e() { var arg_2 = vec2(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.wgsl index 4cd09cb211..a1495a3d17 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.wgsl @@ -4,8 +4,8 @@ fn textureSampleLevel_1bf73e() { var arg_2 = vec2(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl index 38fd5b1d36..f7a6b3ba44 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: f32) -> vec4 fn textureSampleLevel_302be4() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; var res: vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.wgsl index 4bb4b4d9b9..00560c0584 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_302be4() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; var res : vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl index f773449642..551ff26748 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl @@ -26,8 +26,8 @@ // fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: i32, @const offset: vec2) -> f32 fn textureSampleLevel_36780e() { var arg_2 = vec2(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; const arg_5 = vec2(); var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.wgsl index fa77576a61..b1c2a23261 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.wgsl @@ -4,8 +4,8 @@ fn textureSampleLevel_36780e() { var arg_2 = vec2(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; const arg_5 = vec2(); var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl index f916161721..b7969f31d8 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2, level: i32, @const offset: vec2) -> f32 fn textureSampleLevel_749baf() { var arg_2 = vec2(); - var arg_3 = 0; + var arg_3 = 0i; const arg_4 = vec2(); var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.wgsl index e3a9f4cfb1..512cc99b61 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_749baf() { var arg_2 = vec2(); - var arg_3 = 0; + var arg_3 = 0i; const arg_4 = vec2(); var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl index cda803035a..a494dadd50 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl @@ -26,8 +26,8 @@ // fn textureSampleLevel(texture: texture_depth_cube_array, sampler: sampler, coords: vec3, array_index: i32, level: i32) -> f32 fn textureSampleLevel_ae5e39() { var arg_2 = vec3(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; var res: f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.wgsl index 730bdfdc52..ed59f113f5 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.wgsl @@ -4,8 +4,8 @@ fn textureSampleLevel_ae5e39() { var arg_2 = vec3(); - var arg_3 = 1; - var arg_4 = 0; + var arg_3 = 1i; + var arg_4 = 0i; var res : f32 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4); } diff --git a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl index c051b44704..3824a5510c 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl @@ -26,7 +26,7 @@ // fn textureSampleLevel(texture: texture_2d_array, sampler: sampler, coords: vec2, array_index: i32, level: f32, @const offset: vec2) -> vec4 fn textureSampleLevel_b7c55c() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.f; const arg_5 = vec2(); var res: vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.wgsl index 1ada5fea0d..cfd0309a7e 100644 --- a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.wgsl @@ -4,7 +4,7 @@ fn textureSampleLevel_b7c55c() { var arg_2 = vec2(); - var arg_3 = 1; + var arg_3 = 1i; var arg_4 = 1.0f; const arg_5 = vec2(); var res : vec4 = textureSampleLevel(arg_0, arg_1, arg_2, arg_3, arg_4, arg_5); diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl index 4a695579d7..953b39a955 100644 --- a/test/tint/builtins/gen/var/textureStore/102722.wgsl +++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_102722() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.wgsl index 6abacf8be8..ca67293db0 100644 --- a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_102722() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl index bb1ab311da..383b4f07d5 100644 --- a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl +++ b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_1c02e7() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.wgsl index d1665ea0f2..1632c653a8 100644 --- a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_1c02e7() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/22d955.wgsl b/test/tint/builtins/gen/var/textureStore/22d955.wgsl index 5b65d69225..ab56effbcb 100644 --- a/test/tint/builtins/gen/var/textureStore/22d955.wgsl +++ b/test/tint/builtins/gen/var/textureStore/22d955.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_22d955() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.wgsl index d46610c035..9ca9d8e2b5 100644 --- a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_22d955() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl index fa72662e62..1e0f482608 100644 --- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2ac6c7() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.wgsl index c370053ba8..7cb7cde07e 100644 --- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2ac6c7() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl index d1e78a7e7e..1501b1098c 100644 --- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2eb2a4() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.wgsl index ed6ea1f703..38b1ccb7bc 100644 --- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2eb2a4() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl index 3d95b21d00..fb7b871539 100644 --- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_2ed2a3() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.wgsl index 811df1cdf6..54b46ea4e8 100644 --- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_2ed2a3() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/32f368.wgsl b/test/tint/builtins/gen/var/textureStore/32f368.wgsl index 33bbe0b39e..d7354e6ffb 100644 --- a/test/tint/builtins/gen/var/textureStore/32f368.wgsl +++ b/test/tint/builtins/gen/var/textureStore/32f368.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_32f368() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.wgsl index 4e57641c60..06eceeda3d 100644 --- a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_32f368() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl index 5f292f384f..37b7f42da7 100644 --- a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl +++ b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_38e8d7() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.wgsl index 2ae4af0511..37b07ea067 100644 --- a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_38e8d7() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl index 1ec9c4ccb5..504713ee00 100644 --- a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_3a52ac() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.wgsl index b213fc0509..83065541e6 100644 --- a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_3a52ac() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl index d3e2ca2fad..6301506517 100644 --- a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_3bb7a1() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.wgsl index e8a6e50305..145dc9a99f 100644 --- a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_3bb7a1() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl index 17e5c74582..dd01b7f140 100644 --- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_3bec15() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.wgsl index 3b320e3cef..af39c20037 100644 --- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_3bec15() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl index f728b23ef3..fbe26ee1cd 100644 --- a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl +++ b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_4fc057() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.wgsl index 4cd0bf7b8d..6cf8c4d7de 100644 --- a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_4fc057() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl index 7ea8bb1853..8eba27a737 100644 --- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl +++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_5a2f8f() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.wgsl index 26334c9808..444c40b056 100644 --- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_5a2f8f() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/60975f.wgsl b/test/tint/builtins/gen/var/textureStore/60975f.wgsl index faae6ca3af..e48ef90589 100644 --- a/test/tint/builtins/gen/var/textureStore/60975f.wgsl +++ b/test/tint/builtins/gen/var/textureStore/60975f.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_60975f() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.wgsl index 896fd6378e..bdd52cc6ba 100644 --- a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_60975f() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl index aeb1fd844f..bed4262c26 100644 --- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_6b75c3() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.wgsl index 37dfe80df4..d5492bb8f8 100644 --- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_6b75c3() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl index 46f56c572c..d31db6adef 100644 --- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_6b80d2() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.wgsl index 84625decdf..e83366d627 100644 --- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_6b80d2() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/6da692.wgsl b/test/tint/builtins/gen/var/textureStore/6da692.wgsl index d9909e6485..1caeb3ee2b 100644 --- a/test/tint/builtins/gen/var/textureStore/6da692.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6da692.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_6da692() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.wgsl index c54b75ba61..eb4983b2ee 100644 --- a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_6da692() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl index 48ab7ac534..270a825cb3 100644 --- a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl +++ b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_7cec8d() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.wgsl index 2d60abcd5e..38fb600afb 100644 --- a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_7cec8d() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl index 29150849b1..247b97c778 100644 --- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl +++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_7f7fae() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.wgsl index accb7c0e70..9815899604 100644 --- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_7f7fae() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl index 1e8241180b..58dc1d8bdd 100644 --- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl +++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_83bcc1() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.wgsl index 32662db119..7625aa6827 100644 --- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_83bcc1() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl index e96ce4ca0e..a48109e640 100644 --- a/test/tint/builtins/gen/var/textureStore/872747.wgsl +++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_872747() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.wgsl index f1ce50d71f..34d6be285a 100644 --- a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_872747() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl index 832f27773c..3920a85a43 100644 --- a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl +++ b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_8e0479() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.wgsl index 1543d39c29..62cc919039 100644 --- a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_8e0479() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl index 8c18b0b659..ee132a7c75 100644 --- a/test/tint/builtins/gen/var/textureStore/969534.wgsl +++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_969534() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.wgsl index c83ec9523d..259cbc8610 100644 --- a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_969534() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl index 214054a8a0..46518d6a6c 100644 --- a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl +++ b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_9d9cd5() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.wgsl index b0dbf55d70..e34f0eb07a 100644 --- a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_9d9cd5() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl index 444fed431b..d6c70e71b1 100644 --- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl +++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_bf775c() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.wgsl index b2fae4d556..fd241093ab 100644 --- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_bf775c() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl index 364cf2f897..ce4bcc6fa2 100644 --- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl +++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_c863be() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.wgsl index daa524bcbd..ca615c5ba6 100644 --- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_c863be() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl index 7787cc9008..5f1aa47de6 100644 --- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl +++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_d73b5c() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.wgsl index 9025a3e20c..b5c5458f37 100644 --- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_d73b5c() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl index 5023cc66ae..29a96add3a 100644 --- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl +++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_dde364() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.wgsl index 8719ec97cf..f9ea808692 100644 --- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_dde364() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl index 6e1fd340c6..bc4a83016f 100644 --- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl +++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_e885e8() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.wgsl index 4b1b9acf83..32e9ffd05a 100644 --- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_e885e8() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl index f125124fbf..d1d281550f 100644 --- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl +++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_f9be83() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.wgsl index f3601ae9e1..3e9226ef39 100644 --- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_f9be83() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl index a68f2163fa..7b6b6af51c 100644 --- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl +++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl @@ -24,7 +24,7 @@ // fn textureStore(texture: texture_storage_1d, coords: i32, value: vec4) fn textureStore_fb9a8f() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.wgsl index 0d6561b21c..aaeb8f9513 100644 --- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.wgsl @@ -1,7 +1,7 @@ @group(1) @binding(0) var arg_0 : texture_storage_1d; fn textureStore_fb9a8f() { - var arg_1 = 1; + var arg_1 = 1i; var arg_2 = vec4(); textureStore(arg_0, arg_1, arg_2); } diff --git a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl index 98bf971228..b3a551b636 100644 --- a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl +++ b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl @@ -25,7 +25,7 @@ // fn textureStore(texture: texture_storage_2d_array, coords: vec2, array_index: i32, value: vec4) fn textureStore_fbf53f() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); } diff --git a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.wgsl b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.wgsl index fd79a14f18..e9c201cf14 100644 --- a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.wgsl +++ b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.wgsl @@ -2,7 +2,7 @@ fn textureStore_fbf53f() { var arg_1 = vec2(); - var arg_2 = 1; + var arg_2 = 1i; var arg_3 = vec4(); textureStore(arg_0, arg_1, arg_2, arg_3); }