Fixed tests issue where vertex shader was misssing gl_PointSize
authorOivind Boge <oivind.boge@arm.com>
Tue, 19 Dec 2017 10:06:16 +0000 (11:06 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 9 Jan 2018 11:33:29 +0000 (06:33 -0500)
Affects:
dEQP-VK.protected_memory.ssbo.*

Components: Vulkan

VK-GL-CTS issue:: 915

Change-Id: Ia7cc2b9a6b1593ca15f585a9dc052cb2528f9ee3

external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemStorageBufferTests.cpp

index 34e8ba2..25f416a 100644 (file)
@@ -258,6 +258,7 @@ void StorageBufferTestCase<T>::initPrograms (vk::SourceCollections& programColle
                "void main() {\n"
                "    vec2 pos[4] = vec2[4]( vec2(-0.7, 0.7), vec2(0.7, 0.7), vec2(0.0, -0.7), vec2(-0.7, -0.7) );\n"
                "    vIndex = vec4(gl_VertexIndex);\n"
+               "    gl_PointSize = 1.0;\n"
                "    gl_Position = vec4(pos[gl_VertexIndex], 0.0, 1.0);\n"
                "}";