Compiler warning fix.
authorCsaba Osztrogonác <cs.u-szeged@partner.samsung.com>
Fri, 1 Apr 2016 11:57:01 +0000 (13:57 +0200)
committerCsaba Osztrogonác <cs.u-szeged@partner.samsung.com>
Fri, 1 Apr 2016 11:57:01 +0000 (13:57 +0200)
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageViewTests.cpp

index e9aaa117ec290594435c72612e90a979e555770f..fb58c0fec9cfd04fdab8aa3620a0d3bc45dd950d 100644 (file)
@@ -365,7 +365,7 @@ static de::MovePtr<tcu::TestCaseGroup> createSubresourceRangeTests(tcu::TestCont
                                                                                                   imageFormat, config.samplerLod, componentMapping,            \
                                                                                                   config.subresourceRange));                                                   \
                }                                                                                                                                                                                               \
-       } while (0)
+       } while (deGetFalse())
 
        if (viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY || viewType == VK_IMAGE_VIEW_TYPE_2D_ARRAY)
        {