SSE version of PresetOutputs::PerPixelMath()

This commit is contained in:
Matthew Bellew
2018-05-15 22:34:32 -07:00
parent 547e5cb34c
commit 456ef6e2f5
3 changed files with 271 additions and 26 deletions

View File

@ -27,7 +27,8 @@
#include "wipemalloc.h"
void *wipemalloc( size_t count ) {
void *mem = malloc( count );
count = (count + 15) & ~(size_t)15;
void *mem = aligned_alloc( 16, count );
if ( mem != NULL ) {
memset( mem, 0, count );
} else {