Fix compiler warning in render pass tests
authorPyry Haulos <phaulos@google.com>
Fri, 26 Feb 2016 19:05:27 +0000 (11:05 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 26 Feb 2016 19:05:27 +0000 (11:05 -0800)
external/vulkancts/modules/vulkan/vktRenderPassTests.cpp

index bf316a4..1a66c36 100644 (file)
@@ -2671,7 +2671,7 @@ public:
        };
 
                        PixelStatus                     (Status color, Status depth, Status stencil)
-                               : m_status      ((deUint32)((color << COLOR_OFFSET)
+                               : m_status      ((deUint8)((color << COLOR_OFFSET)
                                        | (depth << DEPTH_OFFSET)
                                        | (stencil << STENCIL_OFFSET)))
        {