 #include "cuda/cudamemory.h"
 
 #include "aten4idaten.h"
+
+//#define ENABLE_MEDIAN_FILTER
 
 inline __device__ void computePrevScreenPos(
 	int ix, int iy,

			prevaov.ptr(),
			m_mtxs.ptr(),
			outputSurf,
			width, height);

		checkCudaKernel(temporalReprojection);

		m_mtxs.reset();
	}
}

		curColor = 0.2 * curColor + 0.8 * sum;
	}


#ifdef ENABLE_MEDIAN_FILTER
	tmpBuffer[idx] = curColor;
#else
	curAovs[idx].color = curColor;

	// TODO
