test/tint/builtins: Generate abstract numeric tests

Change-Id: I2da181af0694f73ec4be07ed40e4e70d49b53583
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97140
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton 2022-07-26 14:27:25 +00:00 committed by Dawn LUCI CQ
parent 0fba14e3c6
commit ee36e39296
4459 changed files with 16888 additions and 16045 deletions

View File

@ -116,13 +116,17 @@ fn {{$permutation}}() {
{{/* Build the parameters either as 'var' or inline values */ -}} {{/* Build the parameters either as 'var' or inline values */ -}}
{{- range $i, $p := $overload.Parameters -}} {{- range $i, $p := $overload.Parameters -}}
{{- $class := Eval "StorageClass" $p.Type -}} {{- $class := Eval "StorageClass" $p.Type -}}
{{- $is_abstract := IsAbstract $p.Type -}}
{{- if eq "function" $class -}} {{- if eq "function" $class -}}
{{- if eq "ptr" $p.Type.Target.Name -}} {{- if eq "ptr" $p.Type.Target.Name -}}
{{template "Type" index $p.Type.TemplateArguments 1}};
{{- /*indent*/}} var arg_{{$i}}: {{template "Type" index $p.Type.TemplateArguments 1}}; {{- /*indent*/}} var arg_{{$i}}: {{template "Type" index $p.Type.TemplateArguments 1}};
{{ $args.Put $i (printf "&arg_%v" $i) -}} {{ $args.Put $i (printf "&arg_%v" $i) -}}
{{- else if and (not $p.IsConst) (eq "var" $mode) -}} {{- else if and (not $p.IsConst) (eq "var" $mode) -}}
{{- /*indent*/}} var arg_{{$i}} = {{Eval "ArgumentValue" $p}}; {{- if $is_abstract }} const arg_{{$i}} = {{Eval "ArgumentValue" $p}};
{{ $args.Put $i (printf "arg_%v" $i) -}} {{ else }} var arg_{{$i}} = {{Eval "ArgumentValue" $p}};
{{ end }}
{{- $args.Put $i (printf "arg_%v" $i) -}}
{{- else -}} {{- else -}}
{{- $args.Put $i (Eval "ArgumentValue" $p) -}} {{- $args.Put $i (Eval "ArgumentValue" $p) -}}
{{- end -}} {{- end -}}
@ -198,6 +202,7 @@ fn compute_main() {
{{- end -}} {{- end -}}
{{ end -}} {{ end -}}
{{- /* ------------------------------------------------------------------ */ -}} {{- /* ------------------------------------------------------------------ */ -}}
{{- define "StorageClass" -}} {{- define "StorageClass" -}}
{{- /* Returns the storage class for the given Fully Qualified Name */ -}} {{- /* Returns the storage class for the given Fully Qualified Name */ -}}
@ -246,7 +251,20 @@ fn compute_main() {
{{- else -}}1 {{- else -}}1
{{- end -}} {{- end -}}
{{- else if eq $ty.Target.Name "u32" -}}1u {{- else if eq $ty.Target.Name "u32" -}}1u
{{- else if eq $ty.Target.Name "f32" -}}1.0 {{- else if eq $ty.Target.Name "f32" -}}1.f
{{- else if eq $ty.Target.Name "fa" -}}1
{{- else if eq $ty.Target.Name "ia" -}}1.0
{{- else if eq $ty.Target.Name "bool" -}}true
{{- else if eq $ty.Target.Name "vec" -}}
{{- $el := Eval "ArgumentValue" "Type" (index $ty.TemplateArguments 1) "Name" ""}}
{{- template "Type" $ty}}({{$el}})
{{- else if eq $ty.Target.Name "mat" -}}{{template "Type" $ty}}(
{{- $el := Eval "ArgumentValue" "Type" (index $ty.TemplateArguments 2) "Name" ""}}
{{- range $col := Iterate (index $ty.TemplateArguments 0) }}
{{- range $row := Iterate (index $ty.TemplateArguments 1) }}
{{- if or $col $row -}}, {{end}}{{$el}}
{{- end -}}
{{- end -}})
{{- else -}}{{template "Type" $ty}}() {{- else -}}{{template "Type" $ty}}()
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@ -257,7 +275,12 @@ fn compute_main() {
{{- /* Emits the WGSL for the Fully Qualified Name argument */ -}} {{- /* Emits the WGSL for the Fully Qualified Name argument */ -}}
{{- /* ------------------------------------------------------------------ */ -}} {{- /* ------------------------------------------------------------------ */ -}}
{{- if IsType .Target -}} {{- if IsType .Target -}}
{{- if eq .Target.Name "vec" -}}vec{{index .TemplateArguments 0}}<{{template "Type" index .TemplateArguments 1}}> {{- if IsAbstract . -}}
{{- if eq .Target.Name "vec" -}}vec{{index .TemplateArguments 0}}
{{- else if eq .Target.Name "mat" -}}mat{{index .TemplateArguments 0}}x{{index .TemplateArguments 1}}
{{- else -}}
{{- end -}}
{{- else if eq .Target.Name "vec" -}}vec{{index .TemplateArguments 0}}<{{template "Type" index .TemplateArguments 1}}>
{{- else if eq .Target.Name "mat" -}}mat{{index .TemplateArguments 0}}x{{index .TemplateArguments 1}}<{{template "Type" index .TemplateArguments 2}}> {{- else if eq .Target.Name "mat" -}}mat{{index .TemplateArguments 0}}x{{index .TemplateArguments 1}}<{{template "Type" index .TemplateArguments 2}}>
{{- else -}}{{.Target.Name}}{{template "TemplateArguments" .TemplateArguments}} {{- else -}}{{.Target.Name}}{{template "TemplateArguments" .TemplateArguments}}
{{- end -}} {{- end -}}

View File

@ -25,7 +25,7 @@
// fn abs(vec<4, f32>) -> vec<4, f32> // fn abs(vec<4, f32>) -> vec<4, f32>
fn abs_002533() { fn abs_002533() {
var res: vec4<f32> = abs(vec4<f32>()); var res: vec4<f32> = abs(vec4<f32>(1.f));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_002533() { void abs_002533() {
float4 res = abs((0.0f).xxxx); float4 res = abs((1.0f).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_002533() { void abs_002533() {
float4 res = abs((0.0f).xxxx); float4 res = abs((1.0f).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

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

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_002533() { void abs_002533() {
float4 res = fabs(float4(0.0f)); float4 res = fabs(float4(1.0f));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 31 ; Bound: 32
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%14 = OpExtInstImport "GLSL.std.450" %14 = OpExtInstImport "GLSL.std.450"
@ -31,35 +31,36 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%_ptr_Function_v4float = OpTypePointer Function %v4float
%17 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%16 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
%_ptr_Function_v4float = OpTypePointer Function %v4float
%19 = OpTypeFunction %v4float
%abs_002533 = OpFunction %void None %9 %abs_002533 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v4float Function %5 %res = OpVariable %_ptr_Function_v4float Function %5
%13 = OpExtInst %v4float %14 FAbs %5 %13 = OpExtInst %v4float %14 FAbs %16
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %17 %vertex_main_inner = OpFunction %v4float None %19
%19 = OpLabel %21 = OpLabel
%20 = OpFunctionCall %void %abs_002533 %22 = OpFunctionCall %void %abs_002533
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%22 = OpLabel %24 = OpLabel
%23 = OpFunctionCall %v4float %vertex_main_inner %25 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %23 OpStore %value %25
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%26 = OpLabel %27 = OpLabel
%27 = OpFunctionCall %void %abs_002533 %28 = OpFunctionCall %void %abs_002533
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%29 = OpLabel %30 = OpLabel
%30 = OpFunctionCall %void %abs_002533 %31 = OpFunctionCall %void %abs_002533
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_002533() { fn abs_002533() {
var res : vec4<f32> = abs(vec4<f32>()); var res : vec4<f32> = abs(vec4<f32>(1.0f));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<3, f32>) -> vec<3, f32> // fn abs(vec<3, f32>) -> vec<3, f32>
fn abs_005174() { fn abs_005174() {
var res: vec3<f32> = abs(vec3<f32>()); var res: vec3<f32> = abs(vec3<f32>(1.f));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_005174() { void abs_005174() {
float3 res = abs((0.0f).xxx); float3 res = abs((1.0f).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_005174() { void abs_005174() {
float3 res = abs((0.0f).xxx); float3 res = abs((1.0f).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

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

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_005174() { void abs_005174() {
float3 res = fabs(float3(0.0f)); float3 res = fabs(float3(1.0f));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 34
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%15 = OpExtInstImport "GLSL.std.450" %15 = OpExtInstImport "GLSL.std.450"
@ -32,36 +32,37 @@
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%v3float = OpTypeVector %float 3 %v3float = OpTypeVector %float 3
%16 = OpConstantNull %v3float
%_ptr_Function_v3float = OpTypePointer Function %v3float
%19 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%17 = OpConstantComposite %v3float %float_1 %float_1 %float_1
%_ptr_Function_v3float = OpTypePointer Function %v3float
%20 = OpConstantNull %v3float
%21 = OpTypeFunction %v4float
%abs_005174 = OpFunction %void None %9 %abs_005174 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v3float Function %16 %res = OpVariable %_ptr_Function_v3float Function %20
%13 = OpExtInst %v3float %15 FAbs %16 %13 = OpExtInst %v3float %15 FAbs %17
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %abs_005174 %24 = OpFunctionCall %void %abs_005174
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %29 = OpLabel
%29 = OpFunctionCall %void %abs_005174 %30 = OpFunctionCall %void %abs_005174
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %32 = OpLabel
%32 = OpFunctionCall %void %abs_005174 %33 = OpFunctionCall %void %abs_005174
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_005174() { fn abs_005174() {
var res : vec3<f32> = abs(vec3<f32>()); var res : vec3<f32> = abs(vec3<f32>(1.0f));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<4, u32>) -> vec<4, u32> // fn abs(vec<4, u32>) -> vec<4, u32>
fn abs_1ce782() { fn abs_1ce782() {
var res: vec4<u32> = abs(vec4<u32>()); var res: vec4<u32> = abs(vec4<u32>(1u));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_1ce782() { void abs_1ce782() {
uint4 res = abs((0u).xxxx); uint4 res = abs((1u).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_1ce782() { void abs_1ce782() {
uint4 res = abs((0u).xxxx); uint4 res = abs((1u).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_1ce782() { void abs_1ce782() {
uvec4 res = uvec4(0u); uvec4 res = uvec4(1u);
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_1ce782() { void abs_1ce782() {
uvec4 res = uvec4(0u); uvec4 res = uvec4(1u);
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_1ce782() { void abs_1ce782() {
uvec4 res = uvec4(0u); uvec4 res = uvec4(1u);
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_1ce782() { void abs_1ce782() {
uint4 res = abs(uint4(0u)); uint4 res = abs(uint4(1u));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 35
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
OpMemoryModel Logical GLSL450 OpMemoryModel Logical GLSL450
@ -32,35 +32,37 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%v4uint = OpTypeVector %uint 4 %v4uint = OpTypeVector %uint 4
%16 = OpConstantNull %v4uint %uint_1 = OpConstant %uint 1
%17 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
%_ptr_Function_v4uint = OpTypePointer Function %v4uint %_ptr_Function_v4uint = OpTypePointer Function %v4uint
%19 = OpTypeFunction %v4float %20 = OpConstantNull %v4uint
%21 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_1ce782 = OpFunction %void None %9 %abs_1ce782 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v4uint Function %16 %res = OpVariable %_ptr_Function_v4uint Function %20
OpStore %res %16 OpStore %res %17
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %abs_1ce782 %24 = OpFunctionCall %void %abs_1ce782
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %30 = OpLabel
%29 = OpFunctionCall %void %abs_1ce782 %31 = OpFunctionCall %void %abs_1ce782
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %33 = OpLabel
%32 = OpFunctionCall %void %abs_1ce782 %34 = OpFunctionCall %void %abs_1ce782
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_1ce782() { fn abs_1ce782() {
var res : vec4<u32> = abs(vec4<u32>()); var res : vec4<u32> = abs(vec4<u32>(1u));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<2, f32>) -> vec<2, f32> // fn abs(vec<2, f32>) -> vec<2, f32>
fn abs_1e9d53() { fn abs_1e9d53() {
var res: vec2<f32> = abs(vec2<f32>()); var res: vec2<f32> = abs(vec2<f32>(1.f));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_1e9d53() { void abs_1e9d53() {
float2 res = abs((0.0f).xx); float2 res = abs((1.0f).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_1e9d53() { void abs_1e9d53() {
float2 res = abs((0.0f).xx); float2 res = abs((1.0f).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

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

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_1e9d53() { void abs_1e9d53() {
float2 res = fabs(float2(0.0f)); float2 res = fabs(float2(1.0f));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 34
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%15 = OpExtInstImport "GLSL.std.450" %15 = OpExtInstImport "GLSL.std.450"
@ -32,36 +32,37 @@
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%v2float = OpTypeVector %float 2 %v2float = OpTypeVector %float 2
%16 = OpConstantNull %v2float
%_ptr_Function_v2float = OpTypePointer Function %v2float
%19 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%17 = OpConstantComposite %v2float %float_1 %float_1
%_ptr_Function_v2float = OpTypePointer Function %v2float
%20 = OpConstantNull %v2float
%21 = OpTypeFunction %v4float
%abs_1e9d53 = OpFunction %void None %9 %abs_1e9d53 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v2float Function %16 %res = OpVariable %_ptr_Function_v2float Function %20
%13 = OpExtInst %v2float %15 FAbs %16 %13 = OpExtInst %v2float %15 FAbs %17
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %abs_1e9d53 %24 = OpFunctionCall %void %abs_1e9d53
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %29 = OpLabel
%29 = OpFunctionCall %void %abs_1e9d53 %30 = OpFunctionCall %void %abs_1e9d53
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %32 = OpLabel
%32 = OpFunctionCall %void %abs_1e9d53 %33 = OpFunctionCall %void %abs_1e9d53
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_1e9d53() { fn abs_1e9d53() {
var res : vec2<f32> = abs(vec2<f32>()); var res : vec2<f32> = abs(vec2<f32>(1.0f));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<3, i32>) -> vec<3, i32> // fn abs(vec<3, i32>) -> vec<3, i32>
fn abs_5ad50a() { fn abs_5ad50a() {
var res: vec3<i32> = abs(vec3<i32>()); var res: vec3<i32> = abs(vec3<i32>(1));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_5ad50a() { void abs_5ad50a() {
int3 res = abs((0).xxx); int3 res = abs((1).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_5ad50a() { void abs_5ad50a() {
int3 res = abs((0).xxx); int3 res = abs((1).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_5ad50a() { void abs_5ad50a() {
ivec3 res = abs(ivec3(0)); ivec3 res = abs(ivec3(1));
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_5ad50a() { void abs_5ad50a() {
ivec3 res = abs(ivec3(0)); ivec3 res = abs(ivec3(1));
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_5ad50a() { void abs_5ad50a() {
ivec3 res = abs(ivec3(0)); ivec3 res = abs(ivec3(1));
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_5ad50a() { void abs_5ad50a() {
int3 res = abs(int3(0)); int3 res = abs(int3(1));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 34 ; Bound: 36
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%16 = OpExtInstImport "GLSL.std.450" %16 = OpExtInstImport "GLSL.std.450"
@ -33,36 +33,38 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%int = OpTypeInt 32 1 %int = OpTypeInt 32 1
%v3int = OpTypeVector %int 3 %v3int = OpTypeVector %int 3
%17 = OpConstantNull %v3int %int_1 = OpConstant %int 1
%18 = OpConstantComposite %v3int %int_1 %int_1 %int_1
%_ptr_Function_v3int = OpTypePointer Function %v3int %_ptr_Function_v3int = OpTypePointer Function %v3int
%20 = OpTypeFunction %v4float %21 = OpConstantNull %v3int
%22 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_5ad50a = OpFunction %void None %9 %abs_5ad50a = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v3int Function %17 %res = OpVariable %_ptr_Function_v3int Function %21
%13 = OpExtInst %v3int %16 SAbs %17 %13 = OpExtInst %v3int %16 SAbs %18
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %20 %vertex_main_inner = OpFunction %v4float None %22
%22 = OpLabel %24 = OpLabel
%23 = OpFunctionCall %void %abs_5ad50a %25 = OpFunctionCall %void %abs_5ad50a
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%25 = OpLabel %27 = OpLabel
%26 = OpFunctionCall %v4float %vertex_main_inner %28 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %26 OpStore %value %28
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%29 = OpLabel %31 = OpLabel
%30 = OpFunctionCall %void %abs_5ad50a %32 = OpFunctionCall %void %abs_5ad50a
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%32 = OpLabel %34 = OpLabel
%33 = OpFunctionCall %void %abs_5ad50a %35 = OpFunctionCall %void %abs_5ad50a
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_5ad50a() { fn abs_5ad50a() {
var res : vec3<i32> = abs(vec3<i32>()); var res : vec3<i32> = abs(vec3<i32>(1));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<3, u32>) -> vec<3, u32> // fn abs(vec<3, u32>) -> vec<3, u32>
fn abs_7326de() { fn abs_7326de() {
var res: vec3<u32> = abs(vec3<u32>()); var res: vec3<u32> = abs(vec3<u32>(1u));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_7326de() { void abs_7326de() {
uint3 res = abs((0u).xxx); uint3 res = abs((1u).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_7326de() { void abs_7326de() {
uint3 res = abs((0u).xxx); uint3 res = abs((1u).xxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_7326de() { void abs_7326de() {
uvec3 res = uvec3(0u); uvec3 res = uvec3(1u);
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_7326de() { void abs_7326de() {
uvec3 res = uvec3(0u); uvec3 res = uvec3(1u);
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_7326de() { void abs_7326de() {
uvec3 res = uvec3(0u); uvec3 res = uvec3(1u);
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_7326de() { void abs_7326de() {
uint3 res = abs(uint3(0u)); uint3 res = abs(uint3(1u));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 35
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
OpMemoryModel Logical GLSL450 OpMemoryModel Logical GLSL450
@ -32,35 +32,37 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%v3uint = OpTypeVector %uint 3 %v3uint = OpTypeVector %uint 3
%16 = OpConstantNull %v3uint %uint_1 = OpConstant %uint 1
%17 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
%_ptr_Function_v3uint = OpTypePointer Function %v3uint %_ptr_Function_v3uint = OpTypePointer Function %v3uint
%19 = OpTypeFunction %v4float %20 = OpConstantNull %v3uint
%21 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_7326de = OpFunction %void None %9 %abs_7326de = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v3uint Function %16 %res = OpVariable %_ptr_Function_v3uint Function %20
OpStore %res %16 OpStore %res %17
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %abs_7326de %24 = OpFunctionCall %void %abs_7326de
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %30 = OpLabel
%29 = OpFunctionCall %void %abs_7326de %31 = OpFunctionCall %void %abs_7326de
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %33 = OpLabel
%32 = OpFunctionCall %void %abs_7326de %34 = OpFunctionCall %void %abs_7326de
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_7326de() { fn abs_7326de() {
var res : vec3<u32> = abs(vec3<u32>()); var res : vec3<u32> = abs(vec3<u32>(1u));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<2, u32>) -> vec<2, u32> // fn abs(vec<2, u32>) -> vec<2, u32>
fn abs_7f28e6() { fn abs_7f28e6() {
var res: vec2<u32> = abs(vec2<u32>()); var res: vec2<u32> = abs(vec2<u32>(1u));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_7f28e6() { void abs_7f28e6() {
uint2 res = abs((0u).xx); uint2 res = abs((1u).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_7f28e6() { void abs_7f28e6() {
uint2 res = abs((0u).xx); uint2 res = abs((1u).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_7f28e6() { void abs_7f28e6() {
uvec2 res = uvec2(0u); uvec2 res = uvec2(1u);
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_7f28e6() { void abs_7f28e6() {
uvec2 res = uvec2(0u); uvec2 res = uvec2(1u);
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_7f28e6() { void abs_7f28e6() {
uvec2 res = uvec2(0u); uvec2 res = uvec2(1u);
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_7f28e6() { void abs_7f28e6() {
uint2 res = abs(uint2(0u)); uint2 res = abs(uint2(1u));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 35
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
OpMemoryModel Logical GLSL450 OpMemoryModel Logical GLSL450
@ -32,35 +32,37 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%v2uint = OpTypeVector %uint 2 %v2uint = OpTypeVector %uint 2
%16 = OpConstantNull %v2uint %uint_1 = OpConstant %uint 1
%17 = OpConstantComposite %v2uint %uint_1 %uint_1
%_ptr_Function_v2uint = OpTypePointer Function %v2uint %_ptr_Function_v2uint = OpTypePointer Function %v2uint
%19 = OpTypeFunction %v4float %20 = OpConstantNull %v2uint
%21 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_7f28e6 = OpFunction %void None %9 %abs_7f28e6 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v2uint Function %16 %res = OpVariable %_ptr_Function_v2uint Function %20
OpStore %res %16 OpStore %res %17
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %abs_7f28e6 %24 = OpFunctionCall %void %abs_7f28e6
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %30 = OpLabel
%29 = OpFunctionCall %void %abs_7f28e6 %31 = OpFunctionCall %void %abs_7f28e6
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %33 = OpLabel
%32 = OpFunctionCall %void %abs_7f28e6 %34 = OpFunctionCall %void %abs_7f28e6
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_7f28e6() { fn abs_7f28e6() {
var res : vec2<u32> = abs(vec2<u32>()); var res : vec2<u32> = abs(vec2<u32>(1u));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<2, i32>) -> vec<2, i32> // fn abs(vec<2, i32>) -> vec<2, i32>
fn abs_7faa9e() { fn abs_7faa9e() {
var res: vec2<i32> = abs(vec2<i32>()); var res: vec2<i32> = abs(vec2<i32>(1));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_7faa9e() { void abs_7faa9e() {
int2 res = abs((0).xx); int2 res = abs((1).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_7faa9e() { void abs_7faa9e() {
int2 res = abs((0).xx); int2 res = abs((1).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_7faa9e() { void abs_7faa9e() {
ivec2 res = abs(ivec2(0)); ivec2 res = abs(ivec2(1));
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_7faa9e() { void abs_7faa9e() {
ivec2 res = abs(ivec2(0)); ivec2 res = abs(ivec2(1));
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_7faa9e() { void abs_7faa9e() {
ivec2 res = abs(ivec2(0)); ivec2 res = abs(ivec2(1));
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_7faa9e() { void abs_7faa9e() {
int2 res = abs(int2(0)); int2 res = abs(int2(1));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 34 ; Bound: 36
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%16 = OpExtInstImport "GLSL.std.450" %16 = OpExtInstImport "GLSL.std.450"
@ -33,36 +33,38 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%int = OpTypeInt 32 1 %int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2 %v2int = OpTypeVector %int 2
%17 = OpConstantNull %v2int %int_1 = OpConstant %int 1
%18 = OpConstantComposite %v2int %int_1 %int_1
%_ptr_Function_v2int = OpTypePointer Function %v2int %_ptr_Function_v2int = OpTypePointer Function %v2int
%20 = OpTypeFunction %v4float %21 = OpConstantNull %v2int
%22 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_7faa9e = OpFunction %void None %9 %abs_7faa9e = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v2int Function %17 %res = OpVariable %_ptr_Function_v2int Function %21
%13 = OpExtInst %v2int %16 SAbs %17 %13 = OpExtInst %v2int %16 SAbs %18
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %20 %vertex_main_inner = OpFunction %v4float None %22
%22 = OpLabel %24 = OpLabel
%23 = OpFunctionCall %void %abs_7faa9e %25 = OpFunctionCall %void %abs_7faa9e
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%25 = OpLabel %27 = OpLabel
%26 = OpFunctionCall %v4float %vertex_main_inner %28 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %26 OpStore %value %28
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%29 = OpLabel %31 = OpLabel
%30 = OpFunctionCall %void %abs_7faa9e %32 = OpFunctionCall %void %abs_7faa9e
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%32 = OpLabel %34 = OpLabel
%33 = OpFunctionCall %void %abs_7faa9e %35 = OpFunctionCall %void %abs_7faa9e
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_7faa9e() { fn abs_7faa9e() {
var res : vec2<i32> = abs(vec2<i32>()); var res : vec2<i32> = abs(vec2<i32>(1));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(vec<4, i32>) -> vec<4, i32> // fn abs(vec<4, i32>) -> vec<4, i32>
fn abs_9c80a6() { fn abs_9c80a6() {
var res: vec4<i32> = abs(vec4<i32>()); var res: vec4<i32> = abs(vec4<i32>(1));
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
void abs_9c80a6() { void abs_9c80a6() {
int4 res = abs((0).xxxx); int4 res = abs((1).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,5 +1,5 @@
void abs_9c80a6() { void abs_9c80a6() {
int4 res = abs((0).xxxx); int4 res = abs((1).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
#version 310 es #version 310 es
void abs_9c80a6() { void abs_9c80a6() {
ivec4 res = abs(ivec4(0)); ivec4 res = abs(ivec4(1));
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -21,7 +21,7 @@ void main() {
precision mediump float; precision mediump float;
void abs_9c80a6() { void abs_9c80a6() {
ivec4 res = abs(ivec4(0)); ivec4 res = abs(ivec4(1));
} }
void fragment_main() { void fragment_main() {
@ -35,7 +35,7 @@ void main() {
#version 310 es #version 310 es
void abs_9c80a6() { void abs_9c80a6() {
ivec4 res = abs(ivec4(0)); ivec4 res = abs(ivec4(1));
} }
void compute_main() { void compute_main() {

View File

@ -2,7 +2,7 @@
using namespace metal; using namespace metal;
void abs_9c80a6() { void abs_9c80a6() {
int4 res = abs(int4(0)); int4 res = abs(int4(1));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 34 ; Bound: 36
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%16 = OpExtInstImport "GLSL.std.450" %16 = OpExtInstImport "GLSL.std.450"
@ -33,36 +33,38 @@
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%int = OpTypeInt 32 1 %int = OpTypeInt 32 1
%v4int = OpTypeVector %int 4 %v4int = OpTypeVector %int 4
%17 = OpConstantNull %v4int %int_1 = OpConstant %int 1
%18 = OpConstantComposite %v4int %int_1 %int_1 %int_1 %int_1
%_ptr_Function_v4int = OpTypePointer Function %v4int %_ptr_Function_v4int = OpTypePointer Function %v4int
%20 = OpTypeFunction %v4float %21 = OpConstantNull %v4int
%22 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%abs_9c80a6 = OpFunction %void None %9 %abs_9c80a6 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v4int Function %17 %res = OpVariable %_ptr_Function_v4int Function %21
%13 = OpExtInst %v4int %16 SAbs %17 %13 = OpExtInst %v4int %16 SAbs %18
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %20 %vertex_main_inner = OpFunction %v4float None %22
%22 = OpLabel %24 = OpLabel
%23 = OpFunctionCall %void %abs_9c80a6 %25 = OpFunctionCall %void %abs_9c80a6
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%25 = OpLabel %27 = OpLabel
%26 = OpFunctionCall %v4float %vertex_main_inner %28 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %26 OpStore %value %28
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%29 = OpLabel %31 = OpLabel
%30 = OpFunctionCall %void %abs_9c80a6 %32 = OpFunctionCall %void %abs_9c80a6
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%32 = OpLabel %34 = OpLabel
%33 = OpFunctionCall %void %abs_9c80a6 %35 = OpFunctionCall %void %abs_9c80a6
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn abs_9c80a6() { fn abs_9c80a6() {
var res : vec4<i32> = abs(vec4<i32>()); var res : vec4<i32> = abs(vec4<i32>(1));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn abs(f32) -> f32 // fn abs(f32) -> f32
fn abs_b96037() { fn abs_b96037() {
var res: f32 = abs(1.0); var res: f32 = abs(1.f);
} }
@vertex @vertex

View File

@ -1,5 +1,5 @@
fn abs_b96037() { fn abs_b96037() {
var res : f32 = abs(1.0); var res : f32 = abs(1.0f);
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn acos(f32) -> f32 // fn acos(f32) -> f32
fn acos_489247() { fn acos_489247() {
var res: f32 = acos(1.0); var res: f32 = acos(1.f);
} }
@vertex @vertex

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 31 ; Bound: 32
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%14 = OpExtInstImport "GLSL.std.450" %14 = OpExtInstImport "GLSL.std.450"
@ -31,35 +31,36 @@
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%_ptr_Function_v4float = OpTypePointer Function %v4float
%17 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%16 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
%_ptr_Function_v4float = OpTypePointer Function %v4float
%19 = OpTypeFunction %v4float
%acos_8e2acf = OpFunction %void None %9 %acos_8e2acf = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v4float Function %5 %res = OpVariable %_ptr_Function_v4float Function %5
%13 = OpExtInst %v4float %14 Acos %5 %13 = OpExtInst %v4float %14 Acos %16
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %17 %vertex_main_inner = OpFunction %v4float None %19
%19 = OpLabel %21 = OpLabel
%20 = OpFunctionCall %void %acos_8e2acf %22 = OpFunctionCall %void %acos_8e2acf
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%22 = OpLabel %24 = OpLabel
%23 = OpFunctionCall %v4float %vertex_main_inner %25 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %23 OpStore %value %25
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%26 = OpLabel %27 = OpLabel
%27 = OpFunctionCall %void %acos_8e2acf %28 = OpFunctionCall %void %acos_8e2acf
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%29 = OpLabel %30 = OpLabel
%30 = OpFunctionCall %void %acos_8e2acf %31 = OpFunctionCall %void %acos_8e2acf
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 34
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%15 = OpExtInstImport "GLSL.std.450" %15 = OpExtInstImport "GLSL.std.450"
@ -32,36 +32,37 @@
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%v3float = OpTypeVector %float 3 %v3float = OpTypeVector %float 3
%16 = OpConstantNull %v3float
%_ptr_Function_v3float = OpTypePointer Function %v3float
%19 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%17 = OpConstantComposite %v3float %float_1 %float_1 %float_1
%_ptr_Function_v3float = OpTypePointer Function %v3float
%20 = OpConstantNull %v3float
%21 = OpTypeFunction %v4float
%acos_a610c4 = OpFunction %void None %9 %acos_a610c4 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v3float Function %16 %res = OpVariable %_ptr_Function_v3float Function %20
%13 = OpExtInst %v3float %15 Acos %16 %13 = OpExtInst %v3float %15 Acos %17
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %acos_a610c4 %24 = OpFunctionCall %void %acos_a610c4
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %29 = OpLabel
%29 = OpFunctionCall %void %acos_a610c4 %30 = OpFunctionCall %void %acos_a610c4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %32 = OpLabel
%32 = OpFunctionCall %void %acos_a610c4 %33 = OpFunctionCall %void %acos_a610c4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 33 ; Bound: 34
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
%15 = OpExtInstImport "GLSL.std.450" %15 = OpExtInstImport "GLSL.std.450"
@ -32,36 +32,37 @@
%void = OpTypeVoid %void = OpTypeVoid
%9 = OpTypeFunction %void %9 = OpTypeFunction %void
%v2float = OpTypeVector %float 2 %v2float = OpTypeVector %float 2
%16 = OpConstantNull %v2float
%_ptr_Function_v2float = OpTypePointer Function %v2float
%19 = OpTypeFunction %v4float
%float_1 = OpConstant %float 1 %float_1 = OpConstant %float 1
%17 = OpConstantComposite %v2float %float_1 %float_1
%_ptr_Function_v2float = OpTypePointer Function %v2float
%20 = OpConstantNull %v2float
%21 = OpTypeFunction %v4float
%acos_dfc915 = OpFunction %void None %9 %acos_dfc915 = OpFunction %void None %9
%12 = OpLabel %12 = OpLabel
%res = OpVariable %_ptr_Function_v2float Function %16 %res = OpVariable %_ptr_Function_v2float Function %20
%13 = OpExtInst %v2float %15 Acos %16 %13 = OpExtInst %v2float %15 Acos %17
OpStore %res %13 OpStore %res %13
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%vertex_main_inner = OpFunction %v4float None %19 %vertex_main_inner = OpFunction %v4float None %21
%21 = OpLabel %23 = OpLabel
%22 = OpFunctionCall %void %acos_dfc915 %24 = OpFunctionCall %void %acos_dfc915
OpReturnValue %5 OpReturnValue %5
OpFunctionEnd OpFunctionEnd
%vertex_main = OpFunction %void None %9 %vertex_main = OpFunction %void None %9
%24 = OpLabel %26 = OpLabel
%25 = OpFunctionCall %v4float %vertex_main_inner %27 = OpFunctionCall %v4float %vertex_main_inner
OpStore %value %25 OpStore %value %27
OpStore %vertex_point_size %float_1 OpStore %vertex_point_size %float_1
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%fragment_main = OpFunction %void None %9 %fragment_main = OpFunction %void None %9
%28 = OpLabel %29 = OpLabel
%29 = OpFunctionCall %void %acos_dfc915 %30 = OpFunctionCall %void %acos_dfc915
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%compute_main = OpFunction %void None %9 %compute_main = OpFunction %void None %9
%31 = OpLabel %32 = OpLabel
%32 = OpFunctionCall %void %acos_dfc915 %33 = OpFunctionCall %void %acos_dfc915
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

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

View File

@ -25,7 +25,7 @@
// fn acosh(vec<2, f32>) -> vec<2, f32> // fn acosh(vec<2, f32>) -> vec<2, f32>
fn acosh_640883() { fn acosh_640883() {
var res: vec2<f32> = acosh(vec2<f32>()); var res: vec2<f32> = acosh(vec2<f32>(1.f));
} }
@vertex @vertex

View File

@ -3,7 +3,7 @@ float2 tint_acosh(float2 x) {
} }
void acosh_640883() { void acosh_640883() {
float2 res = tint_acosh((0.0f).xx); float2 res = tint_acosh((1.0f).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -3,7 +3,7 @@ float2 tint_acosh(float2 x) {
} }
void acosh_640883() { void acosh_640883() {
float2 res = tint_acosh((0.0f).xx); float2 res = tint_acosh((1.0f).xx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -5,7 +5,7 @@ vec2 tint_acosh(vec2 x) {
} }
void acosh_640883() { void acosh_640883() {
vec2 res = tint_acosh(vec2(0.0f)); vec2 res = tint_acosh(vec2(1.0f));
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -29,7 +29,7 @@ vec2 tint_acosh(vec2 x) {
} }
void acosh_640883() { void acosh_640883() {
vec2 res = tint_acosh(vec2(0.0f)); vec2 res = tint_acosh(vec2(1.0f));
} }
void fragment_main() { void fragment_main() {
@ -47,7 +47,7 @@ vec2 tint_acosh(vec2 x) {
} }
void acosh_640883() { void acosh_640883() {
vec2 res = tint_acosh(vec2(0.0f)); vec2 res = tint_acosh(vec2(1.0f));
} }
void compute_main() { void compute_main() {

View File

@ -6,7 +6,7 @@ float2 tint_acosh(float2 x) {
} }
void acosh_640883() { void acosh_640883() {
float2 res = tint_acosh(float2(0.0f)); float2 res = tint_acosh(float2(1.0f));
} }
struct tint_symbol { struct tint_symbol {

View File

@ -53,7 +53,7 @@
%acosh_640883 = OpFunction %void None %23 %acosh_640883 = OpFunction %void None %23
%26 = OpLabel %26 = OpLabel
%res = OpVariable %_ptr_Function_v2float Function %20 %res = OpVariable %_ptr_Function_v2float Function %20
%27 = OpFunctionCall %v2float %tint_acosh %20 %27 = OpFunctionCall %v2float %tint_acosh %16
OpStore %res %27 OpStore %res %27
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -1,5 +1,5 @@
fn acosh_640883() { fn acosh_640883() {
var res : vec2<f32> = acosh(vec2<f32>()); var res : vec2<f32> = acosh(vec2<f32>(1.0f));
} }
@vertex @vertex

View File

@ -25,7 +25,7 @@
// fn acosh(vec<4, f32>) -> vec<4, f32> // fn acosh(vec<4, f32>) -> vec<4, f32>
fn acosh_d51ccb() { fn acosh_d51ccb() {
var res: vec4<f32> = acosh(vec4<f32>()); var res: vec4<f32> = acosh(vec4<f32>(1.f));
} }
@vertex @vertex

View File

@ -3,7 +3,7 @@ float4 tint_acosh(float4 x) {
} }
void acosh_d51ccb() { void acosh_d51ccb() {
float4 res = tint_acosh((0.0f).xxxx); float4 res = tint_acosh((1.0f).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -3,7 +3,7 @@ float4 tint_acosh(float4 x) {
} }
void acosh_d51ccb() { void acosh_d51ccb() {
float4 res = tint_acosh((0.0f).xxxx); float4 res = tint_acosh((1.0f).xxxx);
} }
struct tint_symbol { struct tint_symbol {

View File

@ -5,7 +5,7 @@ vec4 tint_acosh(vec4 x) {
} }
void acosh_d51ccb() { void acosh_d51ccb() {
vec4 res = tint_acosh(vec4(0.0f)); vec4 res = tint_acosh(vec4(1.0f));
} }
vec4 vertex_main() { vec4 vertex_main() {
@ -29,7 +29,7 @@ vec4 tint_acosh(vec4 x) {
} }
void acosh_d51ccb() { void acosh_d51ccb() {
vec4 res = tint_acosh(vec4(0.0f)); vec4 res = tint_acosh(vec4(1.0f));
} }
void fragment_main() { void fragment_main() {
@ -47,7 +47,7 @@ vec4 tint_acosh(vec4 x) {
} }
void acosh_d51ccb() { void acosh_d51ccb() {
vec4 res = tint_acosh(vec4(0.0f)); vec4 res = tint_acosh(vec4(1.0f));
} }
void compute_main() { void compute_main() {

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