WebGL 2 - Drawing fails in tex-mipmap-levels test (npot?)

RESOLVED WORKSFORME

Status

()

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

People

(Reporter: kamidphish, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted], URL)

WebGL2 Non-Power of 2 texture conformance test.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getError was expected value: NO_ERROR : Should be no errors from setup.

test mipmap level ranges
PASS getError was expected value: NO_ERROR : fillTexture(8,8,2) should succeed
PASS getError was expected value: NO_ERROR : fillTexture(4,4,3) should succeed
PASS getError was expected value: NO_ERROR : fillTexture(2,2,4) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_MAX_LEVEL) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_MAG_FILTER) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_MIN_FILTER) should succeed
PASS getError was expected value: NO_ERROR : clearAndDrawQuad should succeed
FAIL at (0, 0) expected: 0,0,255,255 was 0,0,0,255
PASS getError was expected value: NO_ERROR : generateMipmap should succeed
FAIL at (0, 0) expected: 255,0,0,255 was 0,0,0,255
PASS getError was expected value: NO_ERROR : fillTexture(8,8,2) should succeed
PASS getError was expected value: NO_ERROR : fillTexture(4,4,3) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
PASS getError was expected value: NO_ERROR : texParameter(TEXTURE_MAX_LEVEL) should succeed
PASS getError was expected value: NO_ERROR : clearAndDrawQuad should succeed
PASS incomplete; should draw with [0, 0, 0, 255]
PASS successfullyParsed is true

TEST COMPLETE
These seem to work now.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.