removed 'const' from ISPC functions in swapchain.ispc