Merge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1
authorPyry Haulos <phaulos@google.com>
Mon, 8 Aug 2016 18:58:59 +0000 (14:58 -0400)
committerGerrit Code Review <gerrit@gerrit.khronos.org>
Mon, 8 Aug 2016 18:58:59 +0000 (14:58 -0400)
external/vulkancts/framework/vulkan/vkNullDriver.cpp

index 5741284..65da387 100644 (file)
@@ -262,7 +262,7 @@ public:
                                                        // \todo [2016-08-03 pyry] In some cases leaving data unintialized would help valgrind analysis,
                                                        //                                                 but currently it mostly hinders it.
                                                        if (m_memory)
-                                                               deMemset(m_memory, 0xcd, pAllocInfo->allocationSize);
+                                                               deMemset(m_memory, 0xcd, (size_t)pAllocInfo->allocationSize);
                                                }
                                                ~DeviceMemory   (void)
                                                {