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..df7694b821 --- /dev/null +++ b/sdk/tests/conformance/textures/misc/format-filterable-renderable.html @@ -0,0 +1,378 @@ + + + + +
+ + + + + + + + + + + diff --git a/sdk/tests/deqp/functional/gles3/es3fPrimitiveRestartTests.js b/sdk/tests/deqp/functional/gles3/es3fPrimitiveRestartTests.js index 85973665ad..ac0da2fe66 100644 --- a/sdk/tests/deqp/functional/gles3/es3fPrimitiveRestartTests.js +++ b/sdk/tests/deqp/functional/gles3/es3fPrimitiveRestartTests.js @@ -334,10 +334,15 @@ var gluTextureUtil = framework.opengl.gluTextureUtil; '\n' + 'void main()\n' + ' {\n' + - ' gl_Position = a_position;\n' + - '}\n'; + ' gl_Position = a_position;\n'; + + if (this.m_primType == es3fPrimitiveRestartTests.PrimitiveType.PRIMITIVE_POINTS) { + vertShaderSource += ' gl_PointSize = 1.0;\n'; + } + + vertShaderSource += '}\n'; - /** @type {string} */ var fragShaderSource = + /** @type {string} */ var fragShaderSource = '#version 300 es\n' + 'layout(location = 0) out mediump vec4 o_color;\n' + '\n' + 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; + } +}