mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 14:08:04 +00:00
Re-generate expected outputs.
Change-Id: I97fc90d33fe7620b3fccfab343a9c0bbfdf6924c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59447 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
5ac96af72c
commit
294cb95f0e
@@ -1,5 +1,3 @@
|
||||
SKIP: FAILED
|
||||
|
||||
#include <metal_stdlib>
|
||||
|
||||
using namespace metal;
|
||||
@@ -75,7 +73,7 @@ void main_1(constant buf1& x_7, constant buf2& x_9, constant buf3& x_12, constan
|
||||
float const x_86 = b;
|
||||
float const x_88 = x_7.x_GLF_uniform_float_values.arr[2].el;
|
||||
float const x_91 = x_7.x_GLF_uniform_float_values.arr[1].el;
|
||||
if ((distance(x_86, x_88) < x_91)) {
|
||||
if ((fabs(x_86 - x_88) < x_91)) {
|
||||
int const x_97 = x_15.x_GLF_uniform_int_values.arr[0].el;
|
||||
int const x_100 = x_15.x_GLF_uniform_int_values.arr[1].el;
|
||||
int const x_103 = x_15.x_GLF_uniform_int_values.arr[1].el;
|
||||
@@ -97,26 +95,3 @@ fragment tint_symbol_1 tint_symbol(constant buf1& x_7 [[buffer(1)]], constant bu
|
||||
return tint_symbol_5;
|
||||
}
|
||||
|
||||
T:\tmp\udoo.0.metal:76:8: error: call to 'distance' is ambiguous
|
||||
if ((distance(x_86, x_88) < x_91)) {
|
||||
^~~~~~~~
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:481:17: note: candidate function
|
||||
METAL_FUNC half distance(half2 x, half2 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:512:17: note: candidate function
|
||||
METAL_FUNC half distance(half3 x, half3 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:543:17: note: candidate function
|
||||
METAL_FUNC half distance(half4 x, half4 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:648:18: note: candidate function
|
||||
METAL_FUNC float distance(float2 x, float2 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:691:18: note: candidate function
|
||||
METAL_FUNC float distance(float3 x, float3 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:734:18: note: candidate function
|
||||
METAL_FUNC float distance(float4 x, float4 y)
|
||||
^
|
||||
1 error generated.
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
SKIP: FAILED
|
||||
|
||||
#include <metal_stdlib>
|
||||
|
||||
using namespace metal;
|
||||
@@ -75,7 +73,7 @@ void main_1(constant buf1& x_7, constant buf2& x_9, constant buf3& x_12, constan
|
||||
float const x_86 = b;
|
||||
float const x_88 = x_7.x_GLF_uniform_float_values.arr[2].el;
|
||||
float const x_91 = x_7.x_GLF_uniform_float_values.arr[1].el;
|
||||
if ((distance(x_86, x_88) < x_91)) {
|
||||
if ((fabs(x_86 - x_88) < x_91)) {
|
||||
int const x_97 = x_15.x_GLF_uniform_int_values.arr[0].el;
|
||||
int const x_100 = x_15.x_GLF_uniform_int_values.arr[1].el;
|
||||
int const x_103 = x_15.x_GLF_uniform_int_values.arr[1].el;
|
||||
@@ -97,26 +95,3 @@ fragment tint_symbol_1 tint_symbol(constant buf1& x_7 [[buffer(1)]], constant bu
|
||||
return tint_symbol_5;
|
||||
}
|
||||
|
||||
T:\tmp\udr8.0.metal:76:8: error: call to 'distance' is ambiguous
|
||||
if ((distance(x_86, x_88) < x_91)) {
|
||||
^~~~~~~~
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:481:17: note: candidate function
|
||||
METAL_FUNC half distance(half2 x, half2 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:512:17: note: candidate function
|
||||
METAL_FUNC half distance(half3 x, half3 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:543:17: note: candidate function
|
||||
METAL_FUNC half distance(half4 x, half4 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:648:18: note: candidate function
|
||||
METAL_FUNC float distance(float2 x, float2 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:691:18: note: candidate function
|
||||
METAL_FUNC float distance(float3 x, float3 y)
|
||||
^
|
||||
C:\Program Files\Metal Developer Tools\macos\lib\clang\31001.138\include\metal\metal_geometric:734:18: note: candidate function
|
||||
METAL_FUNC float distance(float4 x, float4 y)
|
||||
^
|
||||
1 error generated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user