Changing overload rules to match C++ behavior: Emit a warning when the best overload match has some number of no-best matching parameters.
This commit is contained in:
@@ -6,7 +6,7 @@ export uniform int width() { return programCount; }
|
||||
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
|
||||
float a = aFOO[programIndex];
|
||||
RET[programIndex] = max(3 * a, 10.f);
|
||||
RET[width()-1] = max(b, 100);
|
||||
RET[width()-1] = max(b, 100.f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user