gl_PrimitiveIDIn tests have sketchy loop bounds.

Components: Vulkan

VK-GL-CTS issue: 778

Updates:
dEQP-VK.geometry.basic.primitive_id_in
dEQP-VK.geometry.basic.primitive_id_in_restarted

Change-Id: Icd2be56814de18067ce058a5f2a1da80338f80d6
diff --git a/external/vulkancts/modules/vulkan/geometry/vktGeometryBasicGeometryShaderTests.cpp b/external/vulkancts/modules/vulkan/geometry/vktGeometryBasicGeometryShaderTests.cpp
index 4508bb9..3afe635 100644
--- a/external/vulkancts/modules/vulkan/geometry/vktGeometryBasicGeometryShaderTests.cpp
+++ b/external/vulkancts/modules/vulkan/geometry/vktGeometryBasicGeometryShaderTests.cpp
@@ -1035,12 +1035,13 @@
 					<< "	const vec4 blue = vec4(0.0, 0.0, 1.0, 1.0);\n"
 					<< "	const vec4 yellow = vec4(1.0, 1.0, 0.0, 1.0);\n"
 					<< "	const vec4 colors[4] = vec4[4](red, green, blue, yellow);\n"
-					<< "	for (float percent=0.00; percent < 0.30; percent+=0.10)\n"
-							"{\n"
-					<< "		gl_Position = gl_in[0].gl_Position * vec4(1.0+percent, 1.0+percent, 1.0, 1.0);\n"
+					<< "	for (int counter = 0; counter < 3; ++counter)\n"
+					<< "	{\n"
+					<< "		float percent = 0.1 * counter;\n"
+					<< "		gl_Position = gl_in[0].gl_Position * vec4(1.0 + percent, 1.0 + percent, 1.0, 1.0);\n"
 					<< "		v_frag_FragColor = colors[gl_PrimitiveIDIn % 4];\n"
 					<< "		EmitVertex();\n"
-					<< "		gl_Position = gl_in[1].gl_Position * vec4(1.0+percent, 1.0+percent, 1.0, 1.0);\n"
+					<< "		gl_Position = gl_in[1].gl_Position * vec4(1.0 + percent, 1.0 + percent, 1.0, 1.0);\n"
 					<< "		v_frag_FragColor = colors[gl_PrimitiveIDIn % 4];\n"
 					<< "		EmitVertex();\n"
 					<< "	}\n"