         computeEncoder.setComputePipelineState(checkerPipeline)
 
        // SET BUFFERDATA
-        let scaleOffset = 4 * sizeof(VertexData)
+        let scaleOffset = 4 * sizeof(PointData)
         computeEncoder.setBuffer(data, offset: scaleOffset, atIndex: 0) //offsetof(BufferData, rectScale)
 
         // SET TEXTURE

    let y:Float
}
//------------------------------------------------------------------------------------------
struct VertexData
{
    let position:V2f
    let texCoord:V2f

        self.data = device.newBufferWithLength(sizeof(BufferDataB),
                    options:MTLResourceOptions.OptionCPUCacheModeDefault)

        println("sizeof(PointData) = \(sizeof(PointData))")
        println("sizeof(BufferDataB) = \(sizeof(BufferDataB))")

        let bufferPointer = data?.contents()
