 //
 // Each thread renders a pixel
 __global__ void kernelRenderBlocks() {
-    __shared__ int support[THREADS_PER_BLK]; 
+    __shared__ uint scanInput[THREADS_PER_BLK]; 
+    __shared__ uint scanOutput[THREADS_PER_BLK];
+    __shared__ uint scanScratch[2 * THREADS_PER_BLK];
+    __shared__ int circleInBlock[THREADS_PER_BLK];
 
     int imageX = blockIdx.x * blockDim.x + threadIdx.x;
     int imageY = blockIdx.y * blockDim.y + threadIdx.y;

#define BLOCKX 16
#define BLOCKY 16
#define THREADS_PER_BLK (BLOCKX * BLOCKY)
__constant__ float  cuConstColorRamp[COLOR_MAP_SIZE][3];



#include "noiseCuda.cu_inl"
#include "lookupColor.cu_inl"
#include "circleBoxTest.cu_inl"
#include "exclusiveScan.cu_inl"

// kernelClearImageSnowflake -- (CUDA device code)
//
