Khronos public bugtracker – Bug 778
The ES3 glCopyTexImage2D man page is missing some internal formats that are supported in ES3
Last modified: 2013-06-26 16:32:57 PDT
Specifically, the following formats are missing:
R8_SNORM, RG8_SNORM, RGB8_SNORM, RGBA8_SNORM
I sent a question about this to Benj Lipchak, the ES3 spec lead, and he said the following:
"I think you should probably file a bugzilla against that reference page, because it doesn't look right.
It seems to be missing R/RG internalformats as well as unnormalized integer formats (signed and unsigned).
I think the right way to arrive at this list would be to look at the base internal formats in Table 3.15
(R, RG, RGB, RGBA, L, A, L_A) and then including all internalformats from Tables 3.2 & 3.3 that have that
base internal format. But then since floating-point render targets aren't in core, subtract out the float
internalformats. And subtract out RGB9_E5, which is not accepted by CopyTex*."
So when we start with these base internal formats: R, RG, RGB, RGBA, L, A, L_A and apply Tables 3.2 and 3.2,
and subtract out the float formats and RGB9_E5 we get this corrected list:
I am not sure about the methodology, and the result of your table looks too small.
I will have a think about this. Perhaps Benj can comment on the bug directly, but the integer formats seem to be missing entirely.
We're looking into this and will update the man page shortly
Since filing this bug I have had additional conversations with Benj Lipchak and
we determined that the following formats are also supported by glCopyTexImage2D.
(I forgot to deal with his following comment in the original mail: "It seems to be missing R/RG internalformats as well as unnormalized integer formats (signed and unsigned).").
Note that I have only included those unnormalized integer formats that are renderable.
As of 6/26/13 I notice that many of the formats I suggested have been added to the OpenGL ES3 Reference Manual, but not the SNORM ones. Why is that?