SPIRV: Add the support of missing image functions #72

This commit is contained in:
Rex Xu
2015-09-09 16:42:49 +08:00
parent d4782c10d4
commit fc6189197d
4 changed files with 154 additions and 15 deletions

View File

@@ -768,7 +768,7 @@ TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode)
}
break;
case EOpReflect:
// I <EFBFBD> 2 * dot(N, I) * N: Arguments are (I, N).
// I - 2 * dot(N, I) * N: Arguments are (I, N).
dot = childConstUnions[0].dot(childConstUnions[1]);
dot *= 2.0;
for (int comp = 0; comp < numComps; ++comp)