blob: a2c96a50b19636868651c6abd891ae3114c2a734 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
float x_200(thread float2* const x_201) {
float const x_212 = x_201[0u];
return x_212;
}
void main_1() {
float2 x_11 = 0.0f;
float const x_12 = x_200(x_11);
}
kernel void tint_symbol() {
main_1();
}
program_source:5:15: error: cannot initialize a variable of type 'const float' with an lvalue of type 'float2' (vector of 2 'float' values)
float const x_212 = x_201[0u];
^ ~~~~~~~~~
program_source:10:22: error: no matching function for call to 'x_200'
float const x_12 = x_200(x_11);
^~~~~
program_source:4:7: note: candidate function not viable: no known conversion from 'float2' (vector of 2 'float' values) to 'float2 *const' for 1st argument; take the address of the argument with &
float x_200(thread float2* const x_201) {
^