Closed Bug 1170883 Opened 6 years ago Closed 5 years ago

WebGL 2 - Texture format support is lacking for 2D and 3D textures.

Categories

(Core :: Canvas: WebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: djg, Assigned: djg)

References

()

Details

(Whiteboard: [gfx-noted])

Testing sized format R8I, unsized format RED_INTEGER, type BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format R8UI, unsized format RED_INTEGER, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format R16I, unsized format RED_INTEGER, type SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format R16UI, unsized format RED_INTEGER, type UNSIGNED_SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format R32I, unsized format RED_INTEGER, type INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format R32UI, unsized format RED_INTEGER, type UNSIGNED_INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG8I, unsized format RG_INTEGER, type BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG8UI, unsized format RG_INTEGER, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG16I, unsized format RG_INTEGER, type SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG16UI, unsized format RG_INTEGER, type UNSIGNED_SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG32I, unsized format RG_INTEGER, type INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RG32UI, unsized format RG_INTEGER, type UNSIGNED_INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format SRGB8, unsized format RGB, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texSubImage2D should succeed on immutable-format texture
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texSubImage3D should succeed on immutable-format texture

Testing sized format SRGB8_ALPHA8, unsized format RGBA, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texSubImage2D should succeed on immutable-format texture
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texSubImage3D should succeed on immutable-format texture

Testing sized format RGBA32UI, unsized format RGBA_INTEGER, type UNSIGNED_INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB32UI, unsized format RGB_INTEGER, type UNSIGNED_INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGBA16UI, unsized format RGBA_INTEGER, type UNSIGNED_SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB16UI, unsized format RGB_INTEGER, type UNSIGNED_SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGBA8UI, unsized format RGBA_INTEGER, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB8UI, unsized format RGB_INTEGER, type UNSIGNED_BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGBA32I, unsized format RGBA_INTEGER, type INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB32I, unsized format RGB_INTEGER, type INT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGBA16I, unsized format RGBA_INTEGER, type SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB16I, unsized format RGB_INTEGER, type SHORT
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGBA8I, unsized format RGBA_INTEGER, type BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

Testing sized format RGB8I, unsized format RGB_INTEGER, type BYTE
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage2D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage2D should succeed
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with unsized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_ENUM : texImage3D should succeed with sized internalformat
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : texSubImage3D should succeed

etc. etc.
Is this done now that the texture refactor has landed?
Flags: needinfo?(jgilbert)
These already passed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(jgilbert)
You need to log in before you can comment on or make changes to this bug.