305 B
305 B
test/wrong_multiply.shd:4,34: error: Type mismatch. Expected float got float2
found:
result : float4 = float4(1.0, foo * res, 0.0, 1.0);
^
expected:
float
got:
res : float2 = float2(2.0, 2.0);
found:
result : float4 = float4(1.0, foo * res, 0.0, 1.0);
^
expected:
float
got:
res : float2 = float2(2.0, 2.0);