<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - GL_ARB_texture_float is half float only"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88506">88506</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GL_ARB_texture_float is half float only
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kaillasse91@hotmail.fr
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>