Fix int->float conversion warning
authorPyry Haulos <phaulos@google.com>
Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 7 Apr 2016 20:04:36 +0000 (13:04 -0700)
Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45
(cherry picked from commit de443fdd0e0f38f5fd8bd02aa27e6931063a39e3)

external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index e54fe6e..e137b6f
@@ -3845,7 +3845,7 @@ void ImageBlitFromImage::verify (VerifyContext& context, size_t)
 
                        for (deInt32 y = 0; y < m_imageHeight; y++)
                        for (deInt32 x = 0; x < m_imageWidth; x++)
-                               refAccess.setPixel(source.getAccess().getPixelUint(int(x * xscale), int(y * yscale)), x, y);
+                               refAccess.setPixel(source.getAccess().getPixelUint(int(float(x) * xscale), int(float(y) * yscale)), x, y);
                }
                else
                        DE_FATAL("Unsupported scale");