From c20fccbf31566b0b5e2c0ca363ccfa4b9e8e483f Mon Sep 17 00:00:00 2001
From: Alexey Knyazev <3479527+lexaknyazev@users.noreply.github.com>
Date: Fri, 30 Jun 2023 00:00:00 +0000
Subject: [PATCH] Move renderbuffer format extensions to draft; add tests
---
.../EXT_render_snorm/extension.xml | 8 +-
.../extension.xml | 10 +-
.../conformance2/extensions/00_test_list.txt | 2 +
.../extensions/ext-render-snorm.html | 201 ++++++++++++++
.../webgl-render-shared-exponent.html | 251 ++++++++++++++++++
5 files changed, 465 insertions(+), 7 deletions(-)
rename extensions/{proposals => }/EXT_render_snorm/extension.xml (89%)
rename extensions/{proposals => }/WEBGL_render_shared_exponent/extension.xml (75%)
create mode 100644 sdk/tests/conformance2/extensions/ext-render-snorm.html
create mode 100644 sdk/tests/conformance2/extensions/webgl-render-shared-exponent.html
diff --git a/extensions/proposals/EXT_render_snorm/extension.xml b/extensions/EXT_render_snorm/extension.xml
similarity index 89%
rename from extensions/proposals/EXT_render_snorm/extension.xml
rename to extensions/EXT_render_snorm/extension.xml
index 9ca4a5932..820d45375 100644
--- a/extensions/proposals/EXT_render_snorm/extension.xml
+++ b/extensions/EXT_render_snorm/extension.xml
@@ -1,5 +1,5 @@
-
+
EXT_render_snorm
WebGL
@@ -9,7 +9,7 @@
Members of the WebGL working group
- NN
+ 59
@@ -30,7 +30,7 @@
- When EXT_texture_norm16 is enabled, the
+ When EXT_texture_norm16 is enabled, the
following signed normalized internal formats also become color-renderable:
R16_SNORM_EXT
@@ -52,4 +52,4 @@ interface EXT_render_snorm {
Initial Draft.
-
+
diff --git a/extensions/proposals/WEBGL_render_shared_exponent/extension.xml b/extensions/WEBGL_render_shared_exponent/extension.xml
similarity index 75%
rename from extensions/proposals/WEBGL_render_shared_exponent/extension.xml
rename to extensions/WEBGL_render_shared_exponent/extension.xml
index ac8345af3..b946b83c6 100644
--- a/extensions/proposals/WEBGL_render_shared_exponent/extension.xml
+++ b/extensions/WEBGL_render_shared_exponent/extension.xml
@@ -1,5 +1,5 @@
-
+
WEBGL_render_shared_exponent
WebGL
@@ -9,7 +9,7 @@
Members of the WebGL working group
- NN
+ 60
@@ -18,6 +18,10 @@
+
+ Clearing or drawing to a shared exponent color buffer will generate INVALID_OPERATION
+ if the associated color write mask has different values for red, green, and blue channels.
+
@@ -38,4 +42,4 @@ interface WEBGL_render_shared_exponent {
Initial Draft.
-
+
diff --git a/sdk/tests/conformance2/extensions/00_test_list.txt b/sdk/tests/conformance2/extensions/00_test_list.txt
index 1641a9dec..edadde642 100644
--- a/sdk/tests/conformance2/extensions/00_test_list.txt
+++ b/sdk/tests/conformance2/extensions/00_test_list.txt
@@ -2,6 +2,7 @@ ext-color-buffer-float.html
--min-version 2.0.1 ext-color-buffer-half-float.html
--min-version 2.0.1 ext-conservative-depth.html
ext-disjoint-timer-query-webgl2.html
+--min-version 2.0.1 ext-render-snorm.html
--min-version 2.0.1 ext-texture-filter-anisotropic.html
--min-version 2.0.1 ext-texture-norm16.html
promoted-extensions.html
@@ -23,4 +24,5 @@ promoted-extensions-in-shaders.html
--min-version 2.0.1 webgl-clip-cull-distance.html
--min-version 2.0.1 webgl-multi-draw-instanced-base-vertex-base-instance.html
--min-version 2.0.1 webgl-provoking-vertex.html
+--min-version 2.0.1 webgl-render-shared-exponent.html
--min-version 2.0.1 webgl-shader-pixel-local-storage.html
diff --git a/sdk/tests/conformance2/extensions/ext-render-snorm.html b/sdk/tests/conformance2/extensions/ext-render-snorm.html
new file mode 100644
index 000000000..723e76277
--- /dev/null
+++ b/sdk/tests/conformance2/extensions/ext-render-snorm.html
@@ -0,0 +1,201 @@
+
+
+
+
+
+
+WebGL EXT_render_snorm Conformance Tests
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/tests/conformance2/extensions/webgl-render-shared-exponent.html b/sdk/tests/conformance2/extensions/webgl-render-shared-exponent.html
new file mode 100644
index 000000000..11d505fcc
--- /dev/null
+++ b/sdk/tests/conformance2/extensions/webgl-render-shared-exponent.html
@@ -0,0 +1,251 @@
+
+
+
+
+
+
+WebGL WEBGL_render_shared_exponent Conformance Tests
+
+
+
+
+
+
+
+
+
+
+