From 3e7c62700eb925850ca8c9224b224024a63ea40e Mon Sep 17 00:00:00 2001 From: Alexey Knyazev <3479527+lexaknyazev@users.noreply.github.com> Date: Thu, 4 Nov 2021 23:19:29 +0400 Subject: [PATCH 1/2] Disallow point rendering with undefined point size --- specs/latest/1.0/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 9c77dd32c9..69a7f480f7 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -3286,6 +3286,8 @@
INVALID_VALUE error will be generated.
If the CURRENT_PROGRAM is null, an INVALID_OPERATION error will be generated.
+ If the mode is POINTS and the current program does not set
+ gl_PointSize value, an INVALID_OPERATION error will be generated.
ELEMENT_ARRAY_BUFFER
binding point or an INVALID_OPERATION error will be generated.INVALID_OPERATION error will be generated.
+ If the mode is POINTS and the current program does not set
+ gl_PointSize value, an INVALID_OPERATION error will be generated.
WebGL performs additional error checking beyond that specified in OpenGL ES 2.0 during
calls to drawArrays
@@ -4455,6 +4459,17 @@
+ Draw calls with POINTS primitives are rejected when the bound program does not set
+ gl_PointSize.
+
+ Point rendering with undefined point size is undefined in GLES and may be unsupported in other APIs. +
+INVALID_VALUE error will be generated.
If the CURRENT_PROGRAM is null, an INVALID_OPERATION error will be generated.
If the mode is POINTS and the current program does not set
- gl_PointSize value, an INVALID_OPERATION error will be generated.
+ gl_PointSize variable, an INVALID_OPERATION error will be generated.
INVALID_OPERATION error will be generated.
If the mode is POINTS and the current program does not set
- gl_PointSize value, an INVALID_OPERATION error will be generated.
+ gl_PointSize variable, an INVALID_OPERATION error will be generated.
WebGL performs additional error checking beyond that specified in OpenGL ES 2.0 during
calls to drawArrays