Fix issues in Vulkan PointCoord test
authorPyry Haulos <phaulos@google.com>
Wed, 1 Feb 2017 23:24:52 +0000 (15:24 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 3 Feb 2017 21:50:23 +0000 (13:50 -0800)
commitc09596ed4b8d17f057f77a42475d59c1ac126797
tree26bf201c5cd1afbec840d3496c0812f973e666bb
parentfbaba83dbee101b3096ce33f21ae398efee3fa67
Fix issues in Vulkan PointCoord test

 * Fixed PointCoord calculation to follow spec.

 * Made random point size generation code more robust. Existing code
resulted in rnd.getInt() being called with invalid range.

Changed: dEQP-VK.glsl.builtin_var.simple.pointcoord
Components: Vulkan
VK-GL-CTS issue: 68

Change-Id: I34f0c2c2ec5c8d759f22e81a1683c21572887c58
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderBuiltinVarTests.cpp
external/vulkancts/mustpass/1.0.2/src/excluded-tests.txt
external/vulkancts/mustpass/1.0.2/vk-default.txt