Accumulate filter sums using doubles to avoid unsymmetries. Fixes issue 167.
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
// OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "nvcore/Debug.h"
|
||||
#include "nvcore/Library.h"
|
||||
//#include "nvcore/Library.h"
|
||||
#include "CudaUtils.h"
|
||||
|
||||
#if defined HAVE_CUDA
|
||||
|
@ -453,7 +453,7 @@ int main(int argc, char *argv[])
|
||||
// Block compressed textures with mipmaps must be powers of two.
|
||||
if (!noMipmaps && format != nvtt::Format_RGB)
|
||||
{
|
||||
inputOptions.setRoundMode(nvtt::RoundMode_ToNearestPowerOfTwo);
|
||||
inputOptions.setRoundMode(nvtt::RoundMode_ToPreviousPowerOfTwo);
|
||||
}
|
||||
|
||||
if (normal)
|
||||
|
Reference in New Issue
Block a user