WebGL 2 - copyTexImage2D fails with npot textures.

RESOLVED WORKSFORME

Status

()

Core
Canvas: WebGL
RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: kamidphish, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted], URL)

(Reporter)

Description

3 years ago
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed.
PASS getError was expected value: NO_ERROR : gl.texImage2D and gl.generateMipmap with POT texture at level 0 should succeed
PASS POT texture with TEXTURE_MIN_FILTER set to LINEAR_MIPMAP_LINEAR should draw.
PASS getError was expected value: NO_ERROR : Should be no errors from setup.

test ALPHA/UNSIGNED_BYTE
PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture with level > 0 should succeed
PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture at level 0 should succeed
PASS getError was expected value: NO_ERROR : gl.generateMipmap with NPOT texture should succeed
PASS NPOT texture with TEXTURE_WRAP set to REPEAT should draw
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS NPOT texture with TEXTURE_MIN_FILTER not NEAREST or LINEAR should draw
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS NPOT texture with TEXTURE_MIN_FILTER set to LINEAR should draw.
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed.
PASS getError was expected value: NO_ERROR : gl.texImage2D and gl.generateMipmap with POT texture at level 0 should succeed
PASS POT texture with TEXTURE_MIN_FILTER set to LINEAR_MIPMAP_LINEAR should draw.
PASS getError was expected value: NO_ERROR : Should be no errors from setup.

test LUMINANCE_ALPHA/UNSIGNED_BYTE
PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture with level > 0 should succeed
PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture at level 0 should succeed
PASS getError was expected value: NO_ERROR : gl.generateMipmap with NPOT texture should succeed
PASS NPOT texture with TEXTURE_WRAP set to REPEAT should draw
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS NPOT texture with TEXTURE_MIN_FILTER not NEAREST or LINEAR should draw
PASS getError was expected value: NO_ERROR : Should be no errors from setup.
PASS NPOT texture with TEXTURE_MIN_FILTER set to LINEAR should draw.
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed.
PASS getError was

Comment 1

2 years ago
I use the latest nightly and all tests were passed.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.