tint/test/builtins/gen: Fix i32 argument values
These were incorrectly abstract-int, instead of i32. Oops. Change-Id: Iafac4883ee431b04fb473392f545ae26436f8343 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106885 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
14281033e5
commit
6c33dce75a
|
@ -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
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn abs(i32) -> i32
|
||||
fn abs_4ad288() {
|
||||
var res: i32 = abs(1);
|
||||
var res: i32 = abs(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn abs_4ad288() {
|
||||
var res : i32 = abs(1);
|
||||
var res : i32 = abs(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn abs(vec<3, i32>) -> vec<3, i32>
|
||||
fn abs_5ad50a() {
|
||||
var res: vec3<i32> = abs(vec3<i32>(1));
|
||||
var res: vec3<i32> = abs(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn abs_5ad50a() {
|
||||
var res : vec3<i32> = abs(vec3<i32>(1));
|
||||
var res : vec3<i32> = abs(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn abs(vec<2, i32>) -> vec<2, i32>
|
||||
fn abs_7faa9e() {
|
||||
var res: vec2<i32> = abs(vec2<i32>(1));
|
||||
var res: vec2<i32> = abs(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn abs_7faa9e() {
|
||||
var res : vec2<i32> = abs(vec2<i32>(1));
|
||||
var res : vec2<i32> = abs(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn abs(vec<4, i32>) -> vec<4, i32>
|
||||
fn abs_9c80a6() {
|
||||
var res: vec4<i32> = abs(vec4<i32>(1));
|
||||
var res: vec4<i32> = abs(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn abs_9c80a6() {
|
||||
var res : vec4<i32> = abs(vec4<i32>(1));
|
||||
var res : vec4<i32> = abs(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicAdd(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicAdd_794055() {
|
||||
var res : i32 = atomicAdd(&(arg_0), 1);
|
||||
var res : i32 = atomicAdd(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicAdd(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicAnd(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicAnd(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicAnd_45a819() {
|
||||
var res : i32 = atomicAnd(&(arg_0), 1);
|
||||
var res : i32 = atomicAnd(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicCompareExchangeWeak(ptr<storage, atomic<i32>, read_write>, i32, i32) -> __atomic_compare_exchange_result<i32>
|
||||
fn atomicCompareExchangeWeak_1bd40a() {
|
||||
var res = atomicCompareExchangeWeak(&sb_rw.arg_0, 1, 1);
|
||||
var res = atomicCompareExchangeWeak(&sb_rw.arg_0, 1i, 1i);
|
||||
}
|
||||
|
||||
@fragment
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicCompareExchangeWeak(ptr<workgroup, atomic<i32>, read_write>, i32, i32) -> __atomic_compare_exchange_result<i32>
|
||||
fn atomicCompareExchangeWeak_e88938() {
|
||||
var res = atomicCompareExchangeWeak(&arg_0, 1, 1);
|
||||
var res = atomicCompareExchangeWeak(&arg_0, 1i, 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicCompareExchangeWeak_e88938() {
|
||||
var res = atomicCompareExchangeWeak(&(arg_0), 1, 1);
|
||||
var res = atomicCompareExchangeWeak(&(arg_0), 1i, 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicExchange(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicExchange_e114ba() {
|
||||
var res : i32 = atomicExchange(&(arg_0), 1);
|
||||
var res : i32 = atomicExchange(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicExchange(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicMax(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicMax(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicMax_a89cc3() {
|
||||
var res : i32 = atomicMax(&(arg_0), 1);
|
||||
var res : i32 = atomicMax(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicMin(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicMin_278235() {
|
||||
var res : i32 = atomicMin(&(arg_0), 1);
|
||||
var res : i32 = atomicMin(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicMin(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicOr(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicOr(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicOr_d09248() {
|
||||
var res : i32 = atomicOr(&(arg_0), 1);
|
||||
var res : i32 = atomicOr(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicStore(ptr<workgroup, atomic<i32>, read_write>, i32)
|
||||
fn atomicStore_8bea94() {
|
||||
atomicStore(&arg_0, 1);
|
||||
atomicStore(&arg_0, 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicStore_8bea94() {
|
||||
atomicStore(&(arg_0), 1);
|
||||
atomicStore(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicStore(ptr<storage, atomic<i32>, read_write>, i32)
|
||||
fn atomicStore_d1e9a6() {
|
||||
atomicStore(&sb_rw.arg_0, 1);
|
||||
atomicStore(&sb_rw.arg_0, 1i);
|
||||
}
|
||||
|
||||
@fragment
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
|
||||
|
||||
fn atomicStore_d1e9a6() {
|
||||
atomicStore(&(sb_rw.arg_0), 1);
|
||||
atomicStore(&(sb_rw.arg_0), 1i);
|
||||
}
|
||||
|
||||
@fragment
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicSub(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicSub(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicSub_77883a() {
|
||||
var res : i32 = atomicSub(&(arg_0), 1);
|
||||
var res : i32 = atomicSub(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -24,7 +24,7 @@ var<workgroup> arg_0: atomic<i32>;
|
|||
|
||||
// fn atomicXor(ptr<workgroup, atomic<i32>, 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var<workgroup> arg_0 : atomic<i32>;
|
||||
|
||||
fn atomicXor_75dc95() {
|
||||
var res : i32 = atomicXor(&(arg_0), 1);
|
||||
var res : i32 = atomicXor(&(arg_0), 1i);
|
||||
}
|
||||
|
||||
@compute @workgroup_size(1)
|
||||
|
|
|
@ -27,7 +27,7 @@ struct SB_RW {
|
|||
|
||||
// fn atomicXor(ptr<storage, atomic<i32>, 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
|
||||
|
|
|
@ -5,7 +5,7 @@ struct SB_RW {
|
|||
@group(0) @binding(0) var<storage, read_write> 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
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn clamp(vec<4, i32>, vec<4, i32>, vec<4, i32>) -> vec<4, i32>
|
||||
fn clamp_1a32e3() {
|
||||
var res: vec4<i32> = clamp(vec4<i32>(1), vec4<i32>(1), vec4<i32>(1));
|
||||
var res: vec4<i32> = clamp(vec4<i32>(1i), vec4<i32>(1i), vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn clamp_1a32e3() {
|
||||
var res : vec4<i32> = clamp(vec4<i32>(1), vec4<i32>(1), vec4<i32>(1));
|
||||
var res : vec4<i32> = clamp(vec4<i32>(1i), vec4<i32>(1i), vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn clamp(vec<3, i32>, vec<3, i32>, vec<3, i32>) -> vec<3, i32>
|
||||
fn clamp_5f0819() {
|
||||
var res: vec3<i32> = clamp(vec3<i32>(1), vec3<i32>(1), vec3<i32>(1));
|
||||
var res: vec3<i32> = clamp(vec3<i32>(1i), vec3<i32>(1i), vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn clamp_5f0819() {
|
||||
var res : vec3<i32> = clamp(vec3<i32>(1), vec3<i32>(1), vec3<i32>(1));
|
||||
var res : vec3<i32> = clamp(vec3<i32>(1i), vec3<i32>(1i), vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn clamp(vec<2, i32>, vec<2, i32>, vec<2, i32>) -> vec<2, i32>
|
||||
fn clamp_6c1749() {
|
||||
var res: vec2<i32> = clamp(vec2<i32>(1), vec2<i32>(1), vec2<i32>(1));
|
||||
var res: vec2<i32> = clamp(vec2<i32>(1i), vec2<i32>(1i), vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn clamp_6c1749() {
|
||||
var res : vec2<i32> = clamp(vec2<i32>(1), vec2<i32>(1), vec2<i32>(1));
|
||||
var res : vec2<i32> = clamp(vec2<i32>(1i), vec2<i32>(1i), vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn clamp_b07c65() {
|
||||
var res : i32 = clamp(1, 1, 1);
|
||||
var res : i32 = clamp(1i, 1i, 1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countLeadingZeros(i32) -> i32
|
||||
fn countLeadingZeros_6d4656() {
|
||||
var res: i32 = countLeadingZeros(1);
|
||||
var res: i32 = countLeadingZeros(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countLeadingZeros_6d4656() {
|
||||
var res : i32 = countLeadingZeros(1);
|
||||
var res : i32 = countLeadingZeros(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countLeadingZeros(vec<3, i32>) -> vec<3, i32>
|
||||
fn countLeadingZeros_7c38a6() {
|
||||
var res: vec3<i32> = countLeadingZeros(vec3<i32>(1));
|
||||
var res: vec3<i32> = countLeadingZeros(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countLeadingZeros_7c38a6() {
|
||||
var res : vec3<i32> = countLeadingZeros(vec3<i32>(1));
|
||||
var res : vec3<i32> = countLeadingZeros(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countLeadingZeros(vec<2, i32>) -> vec<2, i32>
|
||||
fn countLeadingZeros_858d40() {
|
||||
var res: vec2<i32> = countLeadingZeros(vec2<i32>(1));
|
||||
var res: vec2<i32> = countLeadingZeros(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countLeadingZeros_858d40() {
|
||||
var res : vec2<i32> = countLeadingZeros(vec2<i32>(1));
|
||||
var res : vec2<i32> = countLeadingZeros(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countLeadingZeros(vec<4, i32>) -> vec<4, i32>
|
||||
fn countLeadingZeros_eab32b() {
|
||||
var res: vec4<i32> = countLeadingZeros(vec4<i32>(1));
|
||||
var res: vec4<i32> = countLeadingZeros(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countLeadingZeros_eab32b() {
|
||||
var res : vec4<i32> = countLeadingZeros(vec4<i32>(1));
|
||||
var res : vec4<i32> = countLeadingZeros(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countOneBits(vec<4, i32>) -> vec<4, i32>
|
||||
fn countOneBits_0f7980() {
|
||||
var res: vec4<i32> = countOneBits(vec4<i32>(1));
|
||||
var res: vec4<i32> = countOneBits(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countOneBits_0f7980() {
|
||||
var res : vec4<i32> = countOneBits(vec4<i32>(1));
|
||||
var res : vec4<i32> = countOneBits(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countOneBits(vec<3, i32>) -> vec<3, i32>
|
||||
fn countOneBits_65d2ae() {
|
||||
var res: vec3<i32> = countOneBits(vec3<i32>(1));
|
||||
var res: vec3<i32> = countOneBits(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countOneBits_65d2ae() {
|
||||
var res : vec3<i32> = countOneBits(vec3<i32>(1));
|
||||
var res : vec3<i32> = countOneBits(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countOneBits(vec<2, i32>) -> vec<2, i32>
|
||||
fn countOneBits_af90e2() {
|
||||
var res: vec2<i32> = countOneBits(vec2<i32>(1));
|
||||
var res: vec2<i32> = countOneBits(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countOneBits_af90e2() {
|
||||
var res : vec2<i32> = countOneBits(vec2<i32>(1));
|
||||
var res : vec2<i32> = countOneBits(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countOneBits(i32) -> i32
|
||||
fn countOneBits_fd88b2() {
|
||||
var res: i32 = countOneBits(1);
|
||||
var res: i32 = countOneBits(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countOneBits_fd88b2() {
|
||||
var res : i32 = countOneBits(1);
|
||||
var res : i32 = countOneBits(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countTrailingZeros(vec<4, i32>) -> vec<4, i32>
|
||||
fn countTrailingZeros_1dc84a() {
|
||||
var res: vec4<i32> = countTrailingZeros(vec4<i32>(1));
|
||||
var res: vec4<i32> = countTrailingZeros(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countTrailingZeros_1dc84a() {
|
||||
var res : vec4<i32> = countTrailingZeros(vec4<i32>(1));
|
||||
var res : vec4<i32> = countTrailingZeros(vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countTrailingZeros(vec<2, i32>) -> vec<2, i32>
|
||||
fn countTrailingZeros_327c37() {
|
||||
var res: vec2<i32> = countTrailingZeros(vec2<i32>(1));
|
||||
var res: vec2<i32> = countTrailingZeros(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countTrailingZeros_327c37() {
|
||||
var res : vec2<i32> = countTrailingZeros(vec2<i32>(1));
|
||||
var res : vec2<i32> = countTrailingZeros(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countTrailingZeros(i32) -> i32
|
||||
fn countTrailingZeros_42fed6() {
|
||||
var res: i32 = countTrailingZeros(1);
|
||||
var res: i32 = countTrailingZeros(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countTrailingZeros_42fed6() {
|
||||
var res : i32 = countTrailingZeros(1);
|
||||
var res : i32 = countTrailingZeros(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn countTrailingZeros(vec<3, i32>) -> vec<3, i32>
|
||||
fn countTrailingZeros_acfacb() {
|
||||
var res: vec3<i32> = countTrailingZeros(vec3<i32>(1));
|
||||
var res: vec3<i32> = countTrailingZeros(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn countTrailingZeros_acfacb() {
|
||||
var res : vec3<i32> = countTrailingZeros(vec3<i32>(1));
|
||||
var res : vec3<i32> = countTrailingZeros(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn dot(vec<4, i32>, vec<4, i32>) -> i32
|
||||
fn dot_ef6b1d() {
|
||||
var res: i32 = dot(vec4<i32>(1), vec4<i32>(1));
|
||||
var res: i32 = dot(vec4<i32>(1i), vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn dot_ef6b1d() {
|
||||
var res : i32 = dot(vec4<i32>(1), vec4<i32>(1));
|
||||
var res : i32 = dot(vec4<i32>(1i), vec4<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn dot(vec<3, i32>, vec<3, i32>) -> i32
|
||||
fn dot_f1312c() {
|
||||
var res: i32 = dot(vec3<i32>(1), vec3<i32>(1));
|
||||
var res: i32 = dot(vec3<i32>(1i), vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn dot_f1312c() {
|
||||
var res : i32 = dot(vec3<i32>(1), vec3<i32>(1));
|
||||
var res : i32 = dot(vec3<i32>(1i), vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn dot(vec<2, i32>, vec<2, i32>) -> i32
|
||||
fn dot_fc5f7c() {
|
||||
var res: i32 = dot(vec2<i32>(1), vec2<i32>(1));
|
||||
var res: i32 = dot(vec2<i32>(1i), vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn dot_fc5f7c() {
|
||||
var res : i32 = dot(vec2<i32>(1), vec2<i32>(1));
|
||||
var res : i32 = dot(vec2<i32>(1i), vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn extractBits_249874() {
|
||||
var res : i32 = extractBits(1, 1u, 1u);
|
||||
var res : i32 = extractBits(1i, 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn extractBits(vec<2, i32>, u32, u32) -> vec<2, i32>
|
||||
fn extractBits_a99a8d() {
|
||||
var res: vec2<i32> = extractBits(vec2<i32>(1), 1u, 1u);
|
||||
var res: vec2<i32> = extractBits(vec2<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn extractBits_a99a8d() {
|
||||
var res : vec2<i32> = extractBits(vec2<i32>(1), 1u, 1u);
|
||||
var res : vec2<i32> = extractBits(vec2<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn extractBits(vec<3, i32>, u32, u32) -> vec<3, i32>
|
||||
fn extractBits_e04f5d() {
|
||||
var res: vec3<i32> = extractBits(vec3<i32>(1), 1u, 1u);
|
||||
var res: vec3<i32> = extractBits(vec3<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn extractBits_e04f5d() {
|
||||
var res : vec3<i32> = extractBits(vec3<i32>(1), 1u, 1u);
|
||||
var res : vec3<i32> = extractBits(vec3<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn extractBits(vec<4, i32>, u32, u32) -> vec<4, i32>
|
||||
fn extractBits_fb850f() {
|
||||
var res: vec4<i32> = extractBits(vec4<i32>(1), 1u, 1u);
|
||||
var res: vec4<i32> = extractBits(vec4<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn extractBits_fb850f() {
|
||||
var res : vec4<i32> = extractBits(vec4<i32>(1), 1u, 1u);
|
||||
var res : vec4<i32> = extractBits(vec4<i32>(1i), 1u, 1u);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn firstLeadingBit(vec<3, i32>) -> vec<3, i32>
|
||||
fn firstLeadingBit_35053e() {
|
||||
var res: vec3<i32> = firstLeadingBit(vec3<i32>(1));
|
||||
var res: vec3<i32> = firstLeadingBit(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn firstLeadingBit_35053e() {
|
||||
var res : vec3<i32> = firstLeadingBit(vec3<i32>(1));
|
||||
var res : vec3<i32> = firstLeadingBit(vec3<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn firstLeadingBit(i32) -> i32
|
||||
fn firstLeadingBit_57a1a3() {
|
||||
var res: i32 = firstLeadingBit(1);
|
||||
var res: i32 = firstLeadingBit(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
fn firstLeadingBit_57a1a3() {
|
||||
var res : i32 = firstLeadingBit(1);
|
||||
var res : i32 = firstLeadingBit(1i);
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// fn firstLeadingBit(vec<2, i32>) -> vec<2, i32>
|
||||
fn firstLeadingBit_a622c2() {
|
||||
var res: vec2<i32> = firstLeadingBit(vec2<i32>(1));
|
||||
var res: vec2<i32> = firstLeadingBit(vec2<i32>(1i));
|
||||
}
|
||||
|
||||
@vertex
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue