Closed
Bug 1301451
Opened 8 years ago
Closed 4 years ago
Incorrect implementation defined pixel format and type reported for float renderbuffers and float textures.
Categories
(Core :: Graphics: CanvasWebGL, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jujjyl, Unassigned)
Details
(Whiteboard: gfx-noted)
Attachments
(2 files)
When a float renderbuffer is the active color render target in an FBO, GL_IMPLEMENTATION_COLOR_READ_TYPE and GL_IMPLEMENTATION_COLOR_READ_FORMAT return GL_UNSIGNED_BYTE+GL_RGBA, but attempting to glReadPixels() in that format generates an error. Expected: Either the IMPLEMENTATION_COLOR_READ_* should return GL_FLOAT+GL_RGBA, or glReadPixels() should be able to read back in the format that is advertised.
Reporter | ||
Comment 1•8 years ago
|
||
Looks like the same thing occurs with 2D float textures in an FBO.
Reporter | ||
Comment 2•8 years ago
|
||
Tested on Nightly on OS X, though not sure if occurs on all OSes.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Version: unspecified → 51 Branch
Updated•8 years ago
|
Whiteboard: gfx-noted
Updated•7 years ago
|
Priority: -- → P3
Updated•4 years ago
|
Flags: needinfo?(jgilbert)
Comment 3•4 years ago
|
||
Works on my MBP.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(jgilbert)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•