Front-end: Add missing rule for function-return implicit type conversion check.
Basic (component) type conversion was done, but checking that the composite was correct was not being done. Fixes issue #353.
This commit is contained in:
@@ -68,3 +68,8 @@ void aggCall()
|
||||
float F;
|
||||
m(ivec2(F)); // test input conversion of single argument that's an aggregate; other function tests in 120.vert
|
||||
}
|
||||
|
||||
vec4 badConv()
|
||||
{
|
||||
return u; // ERROR, can change scalar to vector
|
||||
}
|
||||
Reference in New Issue
Block a user