Fix offset parameter for flushMappedMemoryRange
authorMark Adams <marka@nvidia.com>
Fri, 15 Jan 2016 22:02:39 +0000 (17:02 -0500)
committerMark Adams <marka@nvidia.com>
Fri, 15 Jan 2016 22:02:39 +0000 (17:02 -0500)
commit9931d9632ce1e900213ddd41ebd25a36cc93536e
treec108267f2dde877f0e14f453c52e0165598fb378
parentc2f7518f5a4bd6c9986c88ea791841df7e5ce758
Fix offset parameter for flushMappedMemoryRange

In ShaderRenderCaseInstance::uploadImage2D(), the allocation object was
being passed in instead of the offset. This resulted in attempting to
flush an invalid memory range.
external/vulkancts/modules/vulkan/shaderrender/vktShaderRender.cpp