Change default acos test value.

This Cl changes the default acos test value so it equals `cos(.25)`
instead of `cos(.5)`. The `.5` result was slightly different on
various machines.

Bug: tint:1581
Change-Id: I768141ae87a63b2c35ec4d61eb030edad77e11e4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108863
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
dan sinclair 2022-11-07 12:06:18 +00:00 committed by Dawn LUCI CQ
parent f218af0461
commit 6f799d676d
114 changed files with 4169 additions and 4169 deletions

View File

@ -406,8 +406,8 @@ match storage
// https://gpuweb.github.io/gpuweb/wgsl/#builtin-functions
@const fn abs<T: fia_fiu32_f16>(T) -> T
@const fn abs<N: num, T: fia_fiu32_f16>(vec<N, T>) -> vec<N, T>
@const fn acos<T: fa_f32_f16>(@test_value(0.87758256189) T) -> T
@const fn acos<N: num, T: fa_f32_f16>(@test_value(0.87758256189) vec<N, T>) -> vec<N, T>
@const fn acos<T: fa_f32_f16>(@test_value(0.96891242171) T) -> T
@const fn acos<N: num, T: fa_f32_f16>(@test_value(0.96891242171) vec<N, T>) -> vec<N, T>
fn acosh<T: f32_f16>(T) -> T
fn acosh<N: num, T: f32_f16>(vec<N, T>) -> vec<N, T>
@const fn all(bool) -> bool

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
// fn acos(vec<3, fa>) -> vec<3, fa>
fn acos_069188() {
var res = acos(vec3(0.87758256189));
var res = acos(vec3(0.96891242171));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_069188() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_069188() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_069188() {
float3 res = float3(0.5f);
float3 res = float3(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v3float = OpTypeVector %float 3
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v3float %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v3float %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v3float = OpTypePointer Function %v3float
%18 = OpConstantNull %v3float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_069188() {
var res = acos(vec3(0.87758256188999995));
var res = acos(vec3(0.96891242171000003));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<2, fa>) -> vec<2, fa>
fn acos_15d35b() {
var res = acos(vec2(0.87758256189));
var res = acos(vec2(0.96891242171));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_15d35b() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_15d35b() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_15d35b() {
float2 res = float2(0.5f);
float2 res = float2(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v2float = OpTypeVector %float 2
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v2float %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v2float %float_0_25 %float_0_25
%_ptr_Function_v2float = OpTypePointer Function %v2float
%18 = OpConstantNull %v2float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_15d35b() {
var res = acos(vec2(0.87758256188999995));
var res = acos(vec2(0.96891242171000003));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(f32) -> f32
fn acos_489247() {
var res: f32 = acos(0.87758256189f);
var res: f32 = acos(0.96891242171f);
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_489247() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -30,14 +30,14 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%float_0_25 = OpConstant %float 0.25
%_ptr_Function_float = OpTypePointer Function %float
%16 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1
%acos_489247 = OpFunction %void None %9
%12 = OpLabel
%res = OpVariable %_ptr_Function_float Function %8
OpStore %res %float_0_5
OpStore %res %float_0_25
OpReturn
OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %16

View File

@ -1,5 +1,5 @@
fn acos_489247() {
var res : f32 = acos(0.87758255f);
var res : f32 = acos(0.968912423f);
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<4, fa>) -> vec<4, fa>
fn acos_4dac75() {
var res = acos(vec4(0.87758256189));
var res = acos(vec4(0.96891242171));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_4dac75() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_4dac75() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_4dac75() {
float4 res = float4(0.5f);
float4 res = float4(0.25f);
}
struct tint_symbol {

View File

@ -30,8 +30,8 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%14 = OpConstantComposite %v4float %float_0_5 %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%14 = OpConstantComposite %v4float %float_0_25 %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v4float = OpTypePointer Function %v4float
%17 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1

View File

@ -1,5 +1,5 @@
fn acos_4dac75() {
var res = acos(vec4(0.87758256188999995));
var res = acos(vec4(0.96891242171000003));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(fa) -> fa
fn acos_5e9ad2() {
var res = acos(0.87758256189);
var res = acos(0.96891242171);
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -30,14 +30,14 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%float_0_25 = OpConstant %float 0.25
%_ptr_Function_float = OpTypePointer Function %float
%16 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1
%acos_5e9ad2 = OpFunction %void None %9
%12 = OpLabel
%res = OpVariable %_ptr_Function_float Function %8
OpStore %res %float_0_5
OpStore %res %float_0_25
OpReturn
OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %16

View File

@ -1,5 +1,5 @@
fn acos_5e9ad2() {
var res = acos(0.87758256188999995);
var res = acos(0.96891242171000003);
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<4, f32>) -> vec<4, f32>
fn acos_8e2acf() {
var res: vec4<f32> = acos(vec4<f32>(0.87758256189f));
var res: vec4<f32> = acos(vec4<f32>(0.96891242171f));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_8e2acf() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_8e2acf() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_8e2acf() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_8e2acf() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_8e2acf() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_8e2acf() {
float4 res = float4(0.5f);
float4 res = float4(0.25f);
}
struct tint_symbol {

View File

@ -30,8 +30,8 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%14 = OpConstantComposite %v4float %float_0_5 %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%14 = OpConstantComposite %v4float %float_0_25 %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v4float = OpTypePointer Function %v4float
%17 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1

View File

@ -1,5 +1,5 @@
fn acos_8e2acf() {
var res : vec4<f32> = acos(vec4<f32>(0.87758255f));
var res : vec4<f32> = acos(vec4<f32>(0.968912423f));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<3, f32>) -> vec<3, f32>
fn acos_a610c4() {
var res: vec3<f32> = acos(vec3<f32>(0.87758256189f));
var res: vec3<f32> = acos(vec3<f32>(0.96891242171f));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_a610c4() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_a610c4() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_a610c4() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_a610c4() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_a610c4() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_a610c4() {
float3 res = float3(0.5f);
float3 res = float3(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v3float = OpTypeVector %float 3
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v3float %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v3float %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v3float = OpTypePointer Function %v3float
%18 = OpConstantNull %v3float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_a610c4() {
var res : vec3<f32> = acos(vec3<f32>(0.87758255f));
var res : vec3<f32> = acos(vec3<f32>(0.968912423f));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<2, f32>) -> vec<2, f32>
fn acos_dfc915() {
var res: vec2<f32> = acos(vec2<f32>(0.87758256189f));
var res: vec2<f32> = acos(vec2<f32>(0.96891242171f));
}
@vertex

View File

@ -1,5 +1,5 @@
void acos_dfc915() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_dfc915() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_dfc915() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_dfc915() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_dfc915() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_dfc915() {
float2 res = float2(0.5f);
float2 res = float2(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v2float = OpTypeVector %float 2
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v2float %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v2float %float_0_25 %float_0_25
%_ptr_Function_v2float = OpTypePointer Function %v2float
%18 = OpConstantNull %v2float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_dfc915() {
var res : vec2<f32> = acos(vec2<f32>(0.87758255f));
var res : vec2<f32> = acos(vec2<f32>(0.968912423f));
}
@vertex

View File

@ -23,7 +23,7 @@
// fn acos(vec<3, fa>) -> vec<3, fa>
fn acos_069188() {
const arg_0 = vec3(0.87758256189);
const arg_0 = vec3(0.96891242171);
var res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_069188() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_069188() {
float3 res = (0.5f).xxx;
float3 res = (0.25f).xxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_069188() {
vec3 res = vec3(0.5f);
vec3 res = vec3(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_069188() {
float3 res = float3(0.5f);
float3 res = float3(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v3float = OpTypeVector %float 3
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v3float %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v3float %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v3float = OpTypePointer Function %v3float
%18 = OpConstantNull %v3float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_069188() {
const arg_0 = vec3(0.87758256188999995);
const arg_0 = vec3(0.96891242171000003);
var res = acos(arg_0);
}

View File

@ -23,7 +23,7 @@
// fn acos(vec<2, fa>) -> vec<2, fa>
fn acos_15d35b() {
const arg_0 = vec2(0.87758256189);
const arg_0 = vec2(0.96891242171);
var res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_15d35b() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_15d35b() {
float2 res = (0.5f).xx;
float2 res = (0.25f).xx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_15d35b() {
vec2 res = vec2(0.5f);
vec2 res = vec2(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_15d35b() {
float2 res = float2(0.5f);
float2 res = float2(0.25f);
}
struct tint_symbol {

View File

@ -31,8 +31,8 @@
%void = OpTypeVoid
%9 = OpTypeFunction %void
%v2float = OpTypeVector %float 2
%float_0_5 = OpConstant %float 0.5
%15 = OpConstantComposite %v2float %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%15 = OpConstantComposite %v2float %float_0_25 %float_0_25
%_ptr_Function_v2float = OpTypePointer Function %v2float
%18 = OpConstantNull %v2float
%19 = OpTypeFunction %v4float

View File

@ -1,5 +1,5 @@
fn acos_15d35b() {
const arg_0 = vec2(0.87758256188999995);
const arg_0 = vec2(0.96891242171000003);
var res = acos(arg_0);
}

View File

@ -23,7 +23,7 @@
// fn acos(f32) -> f32
fn acos_489247() {
var arg_0 = 0.87758256189f;
var arg_0 = 0.96891242171f;
var res: f32 = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}
@ -22,7 +22,7 @@ void main() {
precision mediump float;
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}
@ -37,7 +37,7 @@ void main() {
#version 310 es
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_489247() {
float arg_0 = 0.87758255f;
float arg_0 = 0.968912423f;
float res = acos(arg_0);
}

View File

@ -32,7 +32,7 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_87758255 = OpConstant %float 0.87758255
%float_0_968912423 = OpConstant %float 0.968912423
%_ptr_Function_float = OpTypePointer Function %float
%20 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1
@ -40,7 +40,7 @@
%12 = OpLabel
%arg_0 = OpVariable %_ptr_Function_float Function %8
%res = OpVariable %_ptr_Function_float Function %8
OpStore %arg_0 %float_0_87758255
OpStore %arg_0 %float_0_968912423
%18 = OpLoad %float %arg_0
%16 = OpExtInst %float %17 Acos %18
OpStore %res %16

View File

@ -1,5 +1,5 @@
fn acos_489247() {
var arg_0 = 0.87758255f;
var arg_0 = 0.968912423f;
var res : f32 = acos(arg_0);
}

View File

@ -23,7 +23,7 @@
// fn acos(vec<4, fa>) -> vec<4, fa>
fn acos_4dac75() {
const arg_0 = vec4(0.87758256189);
const arg_0 = vec4(0.96891242171);
var res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_4dac75() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_4dac75() {
float4 res = (0.5f).xxxx;
float4 res = (0.25f).xxxx;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_4dac75() {
vec4 res = vec4(0.5f);
vec4 res = vec4(0.25f);
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_4dac75() {
float4 res = float4(0.5f);
float4 res = float4(0.25f);
}
struct tint_symbol {

View File

@ -30,8 +30,8 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%14 = OpConstantComposite %v4float %float_0_5 %float_0_5 %float_0_5 %float_0_5
%float_0_25 = OpConstant %float 0.25
%14 = OpConstantComposite %v4float %float_0_25 %float_0_25 %float_0_25 %float_0_25
%_ptr_Function_v4float = OpTypePointer Function %v4float
%17 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1

View File

@ -1,5 +1,5 @@
fn acos_4dac75() {
const arg_0 = vec4(0.87758256188999995);
const arg_0 = vec4(0.96891242171000003);
var res = acos(arg_0);
}

View File

@ -23,7 +23,7 @@
// fn acos(fa) -> fa
fn acos_5e9ad2() {
const arg_0 = 0.87758256189;
const arg_0 = 0.96891242171;
var res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,5 +1,5 @@
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float;
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_5e9ad2() {
float res = 0.5f;
float res = 0.25f;
}
struct tint_symbol {

View File

@ -30,14 +30,14 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_5 = OpConstant %float 0.5
%float_0_25 = OpConstant %float 0.25
%_ptr_Function_float = OpTypePointer Function %float
%16 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1
%acos_5e9ad2 = OpFunction %void None %9
%12 = OpLabel
%res = OpVariable %_ptr_Function_float Function %8
OpStore %res %float_0_5
OpStore %res %float_0_25
OpReturn
OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %16

View File

@ -1,5 +1,5 @@
fn acos_5e9ad2() {
const arg_0 = 0.87758256188999995;
const arg_0 = 0.96891242171000003;
var res = acos(arg_0);
}

View File

@ -23,7 +23,7 @@
// fn acos(vec<4, f32>) -> vec<4, f32>
fn acos_8e2acf() {
var arg_0 = vec4<f32>(0.87758256189f);
var arg_0 = vec4<f32>(0.96891242171f);
var res: vec4<f32> = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_8e2acf() {
float4 arg_0 = (0.87758255f).xxxx;
float4 arg_0 = (0.968912423f).xxxx;
float4 res = acos(arg_0);
}

View File

@ -1,5 +1,5 @@
void acos_8e2acf() {
float4 arg_0 = (0.87758255f).xxxx;
float4 arg_0 = (0.968912423f).xxxx;
float4 res = acos(arg_0);
}

View File

@ -1,7 +1,7 @@
#version 310 es
void acos_8e2acf() {
vec4 arg_0 = vec4(0.87758255f);
vec4 arg_0 = vec4(0.968912423f);
vec4 res = acos(arg_0);
}
@ -22,7 +22,7 @@ void main() {
precision mediump float;
void acos_8e2acf() {
vec4 arg_0 = vec4(0.87758255f);
vec4 arg_0 = vec4(0.968912423f);
vec4 res = acos(arg_0);
}
@ -37,7 +37,7 @@ void main() {
#version 310 es
void acos_8e2acf() {
vec4 arg_0 = vec4(0.87758255f);
vec4 arg_0 = vec4(0.968912423f);
vec4 res = acos(arg_0);
}

View File

@ -2,7 +2,7 @@
using namespace metal;
void acos_8e2acf() {
float4 arg_0 = float4(0.87758255f);
float4 arg_0 = float4(0.968912423f);
float4 res = acos(arg_0);
}

View File

@ -32,8 +32,8 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%9 = OpTypeFunction %void
%float_0_87758255 = OpConstant %float 0.87758255
%14 = OpConstantComposite %v4float %float_0_87758255 %float_0_87758255 %float_0_87758255 %float_0_87758255
%float_0_968912423 = OpConstant %float 0.968912423
%14 = OpConstantComposite %v4float %float_0_968912423 %float_0_968912423 %float_0_968912423 %float_0_968912423
%_ptr_Function_v4float = OpTypePointer Function %v4float
%21 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1

View File

@ -1,5 +1,5 @@
fn acos_8e2acf() {
var arg_0 = vec4<f32>(0.87758255f);
var arg_0 = vec4<f32>(0.968912423f);
var res : vec4<f32> = acos(arg_0);
}

Some files were not shown because too many files have changed in this diff Show More