diff --git a/sdk/tests/conformance/textures/misc/00_test_list.txt b/sdk/tests/conformance/textures/misc/00_test_list.txt index 757a996348..ef3d1de504 100644 --- a/sdk/tests/conformance/textures/misc/00_test_list.txt +++ b/sdk/tests/conformance/textures/misc/00_test_list.txt @@ -4,11 +4,12 @@ copy-tex-image-and-sub-image-2d.html --min-version 1.0.2 copy-tex-image-2d-formats.html --min-version 1.0.4 copy-tex-image-crash.html --min-version 1.0.4 copytexsubimage2d-large-partial-copy-corruption.html ---min-version 1.0.4 copytexsubimage2d-subrects.html +--min-version 1.0.4 copytexsubimage2d-subrects.html --min-version 1.0.4 cube-incomplete-fbo.html --min-version 1.0.4 cube-map-uploads-out-of-order.html --min-version 1.0.3 default-texture.html --min-version 1.0.4 exif-orientation.html +--min-version 1.0.4 format-filterable-renderable.html --min-version 1.0.2 --max-version 1.9.9 gl-get-tex-parameter.html gl-pixelstorei.html gl-teximage.html diff --git a/sdk/tests/conformance/textures/misc/format-filterable-renderable.html b/sdk/tests/conformance/textures/misc/format-filterable-renderable.html new file mode 100644 index 0000000000..debbacab20 --- /dev/null +++ b/sdk/tests/conformance/textures/misc/format-filterable-renderable.html @@ -0,0 +1,378 @@ + + + + + + + + + + + +
+
+ + + diff --git a/sdk/tests/js/js-test-pre.js b/sdk/tests/js/js-test-pre.js index cb37aff173..e1cb9f749c 100644 --- a/sdk/tests/js/js-test-pre.js +++ b/sdk/tests/js/js-test-pre.js @@ -786,3 +786,16 @@ function finishTest() { document.body.appendChild(epilogue); } +/// Prefer `call(() => { ... })` to `(() => { ... })()`\ +/// This way, it's clear up-front that we're calling not just defining. +function call(fn) { + return fn(); +} + +/// `for (const i of range(3))` => 0, 1, 2 +/// Don't use `for...in range(n)`, it will not work. +function* range(n) { + for (let i = 0; i < n; i++) { + yield i; + } +} diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 9c77dd32c9..2a1de406f3 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -3892,9 +3892,19 @@

Framebuffer Object Attachments

framebuffer being framebuffer complete: + +A texture is color-renderable if it has any of the following format-type pairs: + +

Texture Upload Width and Height