Add missing write to PointSize
authorDae Kim <dae.kim@imgtec.com>
Wed, 30 Oct 2019 12:32:17 +0000 (12:32 +0000)
committerDae Kim <dae.kim@imgtec.com>
Wed, 30 Oct 2019 13:22:01 +0000 (13:22 +0000)
The primitive topology is POINT_LIST for test cases covering the vertex
stage, but the vertex shader in these cases isn't supplying a value for
PontSize.

Affects:

dEQP-VK.binding_model.buffer_device_address.*.vert

Components: Vulkan

VK-GL-CTS issue: 2080

Change-Id: Ibbbeb143bf957f9494b1df84e69bc4a01c891c6a

external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp

index c996d32..fc75adb 100644 (file)
@@ -371,6 +371,7 @@ void BufferAddressTestCase::initPrograms (SourceCollections& programCollection)
                                << checks.str() <<
                                "  uvec4 color = (accum != 0) ? uvec4(0,0,0,0) : uvec4(1,0,0,1);\n"
                                "  imageStore(image0_0, ivec2(gl_VertexIndex % " << DIM << ", gl_VertexIndex / " << DIM << "), color);\n"
+                               "  gl_PointSize = 1.0f;\n"
                                "}\n";
 
                        programCollection.glslSources.add("test") << glu::VertexSource(vss.str())