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>
Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)
Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45

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

old mode 100755 (executable)
new mode 100644 (file)
index c9d8c24..68f9396
@@ -3852,7 +3852,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");