ShaderRenderCaseInstance::uploadSparseImage() fix
authorDominik Witczak <Dominik.Witczak@amd.com>
Thu, 17 Nov 2016 15:13:32 +0000 (16:13 +0100)
committerPyry Haulos <phaulos@google.com>
Mon, 28 Nov 2016 19:27:18 +0000 (14:27 -0500)
commitacfe226b27ca33d201759a3a059dc5254064b483
treecf5d00004a5bcc1f4ea06357522a4304d4554900
parent70fc0800efe725f4f91f4d03b09aa0e567dbb09c
ShaderRenderCaseInstance::uploadSparseImage() fix

The function is used by various test cases to fill sparse images
with actual content. What they are unaware of is that the func
does not assign memory backing to odd tiles.

This change fixes this by removing the malicious if() block.
The change affects dEQP-VK.glsl.*sparse* tests

Change-Id: Ia2b157181d5fdba2d4fa0bcaf37dc02c4a6fe320
external/vulkancts/modules/vulkan/shaderrender/vktShaderRender.cpp