SPIRV: Add the support of missing image functions #72
This commit is contained in:
parent
d4782c10d4
commit
fc6189197d
4 changed files with 154 additions and 15 deletions
|
|
@ -768,7 +768,7 @@ TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode)
|
|||
}
|
||||
break;
|
||||
case EOpReflect:
|
||||
// I – 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue