Parser: Some function prototypes of interpolateAtXXX are incorrect.

This commit is contained in:
Rex Xu
2016-10-10 15:38:15 +08:00
parent 19bdf90eba
commit 4c25709f45
3 changed files with 107 additions and 108 deletions

View File

@@ -302,5 +302,5 @@ void builtinFragProcFuncs()
// Interpolation
f16v.x = interpolateAtCentroid(if16v.x);
f16v.xy = interpolateAtSample(if16v.xy, 1);
f16v = interpolateAtOffset(if16v, vec2(0.5));
f16v = interpolateAtOffset(if16v, f16vec2(0.5hf));
}