We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f3776 commit aa1e61dCopy full SHA for aa1e61d
sdk/tests/deqp/functional/gles3/es3fPrimitiveRestartTests.js
@@ -334,10 +334,15 @@ var gluTextureUtil = framework.opengl.gluTextureUtil;
334
'\n' +
335
'void main()\n' +
336
' {\n' +
337
- ' gl_Position = a_position;\n' +
338
- '}\n';
+ ' gl_Position = a_position;\n';
+
339
+ if (this.m_primType == es3fPrimitiveRestartTests.PrimitiveType.PRIMITIVE_POINTS) {
340
+ vertShaderSource += ' gl_PointSize = 1.0;\n';
341
+ }
342
343
+ vertShaderSource += '}\n';
344
- /** @type {string} */ var fragShaderSource =
345
+ /** @type {string} */ var fragShaderSource =
346
'#version 300 es\n' +
347
'layout(location = 0) out mediump vec4 o_color;\n' +
348
0 commit comments