mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-16 15:00:14 +02:00
Fixed ComputeMSE bug when using CMSE_IMAGE2_X2_BIAS flag
This commit is contained in:
parent
31b6c9309c
commit
52aead71d7
@ -126,7 +126,7 @@ namespace
|
|||||||
}
|
}
|
||||||
if (flags & CMSE_IMAGE2_X2_BIAS)
|
if (flags & CMSE_IMAGE2_X2_BIAS)
|
||||||
{
|
{
|
||||||
v1 = XMVectorMultiplyAdd(v2, two, g_XMNegativeOne);
|
v2 = XMVectorMultiplyAdd(v2, two, g_XMNegativeOne);
|
||||||
}
|
}
|
||||||
|
|
||||||
// sum[ (I1 - I2)^2 ]
|
// sum[ (I1 - I2)^2 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user