// and conversions to SNORM internalformats are not allowed by Table 3.2
(copyInternalFormat.sampler == SAMPLER_NORM) ||
((copyInternalFormat.sizedFormat == GL_RGB9_E5) &&
- !contextInfo.isExtensionSupported("GL_APPLE_color_buffer_packed_float")))
+ (!contextInfo.isExtensionSupported("GL_APPLE_color_buffer_packed_float") &&
+ !contextInfo.isExtensionSupported("GL_QCOM_render_shared_exponent"))))
{
/* Some formats are activated by extensions, check. */
if (((internalFormat.baseFormat == GL_LUMINANCE && copyInternalFormat.baseFormat == GL_LUMINANCE) ||
return true;
}
+ if ((GL_RGB9_E5 == validFormat->internalformat) &&
+ contextInfo.isExtensionSupported("GL_QCOM_render_shared_exponent"))
+ {
+ return true;
+ }
+
if ((GL_LUMINANCE == validFormat->internalformat || GL_ALPHA == validFormat->internalformat ||
GL_LUMINANCE_ALPHA == validFormat->internalformat) &&
contextInfo.isExtensionSupported("GL_NV_render_luminance_alpha"))