Incorrect implementation defined pixel format and type reported for float renderbuffers and float textures.

NEW
Unassigned

Status

()

Core
Canvas: WebGL
P3
normal
a year ago
6 months ago

People

(Reporter: Jukka Jylänki, Unassigned)

Tracking

51 Branch
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: gfx-noted)

Attachments

(2 attachments)

(Reporter)

Description

a year ago
Created attachment 8789478 [details]
float_rendertarget_readpixels.html

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

a year ago
Created attachment 8789481 [details]
float_rendertarget_texture_readpixels.html

Looks like the same thing occurs with 2D float textures in an FBO.
(Reporter)

Comment 2

a year 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
Whiteboard: gfx-noted
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.