Fix VS12 compilation error (typedef)
authorMaciej Jesionowski <maciej.jesionowski@amd.com>
Wed, 26 Jul 2017 13:53:13 +0000 (15:53 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 31 Aug 2017 18:20:26 +0000 (14:20 -0400)
Change-Id: Iebfece1455df2a49c79885d42f43817001a31b84
(cherry picked from commit 68c41978cf7a76391e898af7faaddea0598a3911)

external/vulkancts/modules/vulkan/vktDrawUtil.cpp

index 5d03f15..56fd59c 100644 (file)
@@ -778,7 +778,7 @@ VulkanDrawContext::VulkanDrawContext (  Context&                            context,
                                *m_renderPass,                                                                                                          // VkRenderPass                                                                 renderPass;
                                *m_framebuffer,                                                                                                         // VkFramebuffer                                                                framebuffer;
                                renderArea,                                                                                                                     // VkRect2D                                                                             renderArea;
-                               static_cast<uint32_t>(clearValues.size()),                                                      // uint32_t                                                                             clearValueCount;
+                               static_cast<deUint32>(clearValues.size()),                                                      // uint32_t                                                                             clearValueCount;
                                &clearValues[0],                                                                                                        // const VkClearValue*                                                  pClearValues;
                        };