Merge branch 'marka_flush_offset' into 'master'
authorPyry Haulos <phaulos@google.com>
Fri, 15 Jan 2016 22:36:38 +0000 (17:36 -0500)
committerPyry Haulos <phaulos@google.com>
Fri, 15 Jan 2016 22:36:38 +0000 (17:36 -0500)
commit56550672b1b4838ff0bfc3d9b1a96c8e127103bd
tree7bd14736596bdff75a039b7930fb8be12845fc80
parentc05bc35f18d2b379ec8d31b39a54a06a385b76af
parent9931d9632ce1e900213ddd41ebd25a36cc93536e
Merge branch 'marka_flush_offset' into 'master'

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.

This was resulting in intermittent crashes in the dEQP-VK.glsl.discard.* tests.

See merge request !329