[Bug 88506] New: GL_ARB_texture_float is half float only

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 16 11:01:57 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88506

            Bug ID: 88506
           Summary: GL_ARB_texture_float is half float only
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: kaillasse91 at hotmail.fr
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Not sure this is a bug or a choice but glxinfo report GL_ARB_texture_float for
my gma 4500HD mobile. But it seems to be clamped to 16bits.

I suspect that as it's opengl 2.1 and texture_float is an extension, it's up to
the implementation to decide if 16 bits is close enough to 32 bits to advertise
GL_ARB_texture_float as supported. 

If I create an fbo and attach a texture with something like:

glTexImage2D(GL_TEXTURE_RECTANGLE, 0,  GL_RGBA32F, w, h, 0, GL_RGB,
GL_UNSIGNED_BYTE, 0);

then

glCheckFramebufferStatusEXT(GL_FRAMEBUFFER)

returns 

GL_FRAMEBUFFER_COMPLETE_EXT.

But in fact I only get GL_RGBA16F as internal format.

My problem is that it does it silently instead of telling me that this format
is unsupported so I can choose what to do.

Please excuse me if I'm not clear enough, I only have limited experienced with
opengl, but if you confirm me this is not the intended behaviour I can provide
further informations.

thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150116/902f9a00/attachment.html>


More information about the intel-3d-bugs mailing list