57 lines
3.2 KiB
Plaintext
57 lines
3.2 KiB
Plaintext
SKIP: FAILED
|
|
|
|
|
|
|
|
Validation Failure:
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
void ldexp_7bc2fd() {
|
|
float2 res = ldexp(float2(), uint2());
|
|
}
|
|
|
|
vertex void vertex_main() {
|
|
ldexp_7bc2fd();
|
|
return;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
ldexp_7bc2fd();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
ldexp_7bc2fd();
|
|
return;
|
|
}
|
|
|
|
|
|
tint_aJWI1V.metal:5:18: error: no matching function for call to 'ldexp'
|
|
float2 res = ldexp(float2(), uint2());
|
|
^~~~~
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:3336:19: note: candidate function not viable: no known conversion from 'uint2' (vector of 2 'unsigned int' values) to 'metal::int2' (aka 'int2') for 2nd argument
|
|
METAL_FUNC float2 ldexp(float2 x, int2 k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:2116:17: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'half' for 1st argument
|
|
METAL_FUNC half ldexp(half x, int k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:2360:18: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'metal::half2' (aka 'half2') for 1st argument
|
|
METAL_FUNC half2 ldexp(half2 x, int2 k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:2604:18: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'metal::half3' (aka 'half3') for 1st argument
|
|
METAL_FUNC half3 ldexp(half3 x, int3 k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:2848:18: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'metal::half4' (aka 'half4') for 1st argument
|
|
METAL_FUNC half4 ldexp(half4 x, int4 k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:3092:18: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'float' for 1st argument
|
|
METAL_FUNC float ldexp(float x, int k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:3580:19: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'metal::float3' (aka 'float3') for 1st argument
|
|
METAL_FUNC float3 ldexp(float3 x, int3 k)
|
|
^
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/lib/clang/902.14/include/metal/metal_math:3824:19: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'metal::float4' (aka 'float4') for 1st argument
|
|
METAL_FUNC float4 ldexp(float4 x, int4 k)
|
|
^
|
|
1 error generated.
|