webgl/2.0.1/conformance2/textures/misc/tex-input-validation.html fails
https://bugs.webkit.org/show_bug.cgi?id=223356
Summary webgl/2.0.1/conformance2/textures/misc/tex-input-validation.html fails
Kimmo Kinnunen
Reported 2021-03-17 00:45:44 PDT
webgl/2.0.1/conformance2/textures/misc/tex-input-validation.html fails
Attachments
Kimmo Kinnunen
Comment 1 2021-03-17 00:57:03 PDT
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-input-validation.html?webglVersion=2&quiet=0&quick=1 Validate tex functions input parameters On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS gl = wtu.create3DContext(undefined, undefined, contextVersion) is non-null. PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : Checking TexParameter: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T PASS getError was expected value: INVALID_ENUM : paramName: 0x8e42 PASS getError was expected value: INVALID_ENUM : paramName: 0x8e42 PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_R PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_R Checking GetTexParameter: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: INVALID_ENUM : paramName: TEXTURE_WRAP_T PASS getError was expected value: NO_ERROR : paramName: TEXTURE_WRAP_T PASS getError was expected value: INVALID_ENUM : paramName: 0x8e42 Checking TexImage2D: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: 0x8064 format: RGBA type: UNSIGNED_BYTE border: 0 FAIL getError expected one of: INVALID_ENUM or INVALID_VALUE. Was INVALID_OPERATION : internalFormat: RED target: TEXTURE_2D format: RED type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_VALUE : internalFormat: RGBA target: TEXTURE_2D format: RGBA type: UNSIGNED_BYTE border: 1 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA target: TEXTURE_2D format: RGB type: UNSIGNED_BYTE border: 0 PASS getError was expected value: NO_ERROR : internalFormat: RGBA target: TEXTURE_2D format: RGBA type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA target: TEXTURE_2D format: RGBA type: BYTE border: 0 PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: TEXTURE_3D format: RGBA type: UNSIGNED_BYTE border: 0 Checking TexSubImage2D: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: NO_ERROR : format: RGBA type: UNSIGNED_BYTE PASS getError was expected value: INVALID_OPERATION : format: RED type: UNSIGNED_BYTE PASS getError was expected value: INVALID_OPERATION : format: RGBA type: BYTE PASS getError was expected value: INVALID_ENUM : format: RGBA type: UNSIGNED_BYTE Checking CopyTexImage2D: a set of inputs that are valid in GL but invalid in WebGL PASS fbo = gl.createFramebuffer() is non-null. PASS colorBuffer = gl.createRenderbuffer() is non-null. PASS getError was expected value: NO_ERROR : PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: INVALID_ENUM : colorBufferFormat: RGB565 internalFormat: 0x8054 target: TEXTURE_2D border: 0 PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: INVALID_VALUE : colorBufferFormat: RGB565 internalFormat: RGBA target: TEXTURE_2D border: 1 PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB565 internalFormat: RGBA target: TEXTURE_2D border: 0 PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: NO_ERROR : colorBufferFormat: RGB565 internalFormat: RGB target: TEXTURE_2D border: 0 PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: INVALID_ENUM : colorBufferFormat: RGB5_A1 internalFormat: RGBA target: TEXTURE_3D border: 0 Checking CopyTexSubImage2D: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: NO_ERROR : PASS getError was expected value: NO_ERROR : colorBufferFormat: RGB5_A1 internalFormat: RGBA target: TEXTURE_2D PASS getError was expected value: NO_ERROR : PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE PASS getError was expected value: NO_ERROR : PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB565 internalFormat: RGBA target: TEXTURE_2D Checking CopyTex{Sub}Image2D: copy from WebGL internal framebuffer PASS gl is non-null. PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : PASS getError was expected value: NO_ERROR : colorBufferFormat: RGBA internalFormat: RGBA PASS gl is non-null. PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB internalFormat: RGBA PASS gl is non-null. PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : PASS getError was expected value: NO_ERROR : colorBufferFormat: RGBA internalFormat: RGBA PASS gl is non-null. PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : PASS getError was expected value: INVALID_OPERATION : colorBufferFormat: RGB internalFormat: RGBA PASS tex = gl.createTexture() is non-null. PASS getError was expected value: NO_ERROR : Checking TexImage3D: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: 0x8070 format: RGBA type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA target: TEXTURE_3D format: RGB type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA target: TEXTURE_3D format: RGBA type: BYTE border: 0 PASS getError was expected value: NO_ERROR : internalFormat: RGBA target: TEXTURE_3D format: RGBA type: UNSIGNED_BYTE border: 0 Checking TexImage3D: bad target, internalformats, formats, types PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: TEXTURE_2D format: RGBA type: UNSIGNED_BYTE border: 0 FAIL getError expected: INVALID_VALUE. Was INVALID_OPERATION : internalFormat: RG target: TEXTURE_3D format: RGBA type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_ENUM : internalFormat: RGBA target: TEXTURE_3D format: RG8 type: UNSIGNED_BYTE border: 0 PASS getError was expected value: INVALID_OPERATION : internalFormat: RGBA target: TEXTURE_3D format: RGBA type: INT border: 0 Checking TexSubImage3D: a set of inputs that are valid in GL but invalid in WebGL PASS getError was expected value: INVALID_ENUM : format: 0x80e0 type: UNSIGNED_BYTE PASS getError was expected value: INVALID_ENUM : format: RGBA type: 0x8032 PASS getError was expected value: NO_ERROR : format: RGBA type: UNSIGNED_BYTE PASS successfullyParsed is true TEST COMPLETE
Kimmo Kinnunen
Comment 2 2021-03-17 01:45:41 PDT
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Radar WebKit Bug Importer
Comment 3 2021-03-24 00:46:13 PDT
Note You need to log in before you can comment on or make changes to this bug.