|author||Jan-Harald Fredriksen <firstname.lastname@example.org>||2017-05-19 13:41:54 +0200|
|committer||Jan-Harald Fredriksen <email@example.com>||2017-06-08 09:57:43 +0200|
Add additional interactions with OpenGL to the ASTC extension spec.
1 files changed, 38 insertions, 1 deletions
diff --git a/extensions/KHR/KHR_texture_compression_astc_hdr.txt b/extensions/KHR/KHR_texture_compression_astc_hdr.txt
index 80f7655..248f1aa 100644
@@ -47,7 +47,7 @@ Status
- Version 7, July 14, 2016
+ Version 8, June 8, 2017
@@ -2080,6 +2080,41 @@ Interactions with texture cube map arrays
an extension defining cube map arrays). Otherwise, remove all references
to texture cube map arrays from this specification.
+Interactions with OpenGL (all versions)
+ ASTC is not supported for 1D textures and texture rectangles, and does
+ not support non-zero borders.
+ Add the following error conditions to CompressedTexImage*D:
+ "An INVALID_ENUM error is generated by CompressedTexImage1D if
+ <internalformat> is one of the ASTC formats.
+ An INVALID_OPERATION error is generated by CompressedTexImage2D
+ and CompressedTexImage3D if <internalformat> is one of the ASTC
+ formats and <border> is non-zero."
+ Add the following error conditions to CompressedTexSubImage*D:
+ "An INVALID_ENUM error is generated by CompressedTex*SubImage1D
+ if the internal format of the texture is one of the ASTC formats.
+ An INVALID_OPERATION error is generated by CompressedTex*SubImage2D
+ if the internal format of the texture is one of the ASTC formats
+ and <border> is non-zero."
+ Add the following error conditions to TexStorage1D and TextureStorage1D:
+ "An INVALID_ENUM error is generated by TexStorage1D and TextureStorage1D
+ if <format> is one of the ASTC formats."
+ Add the following error conditions to TexStorage2D and TextureStorage2D
+ for versions of OpenGL that support texture rectangles:
+ "An INVALID_OPERATON error is generated by TexStorage2D and
+ TextureStorage2D if <format> is one of the ASTC formats and <target>
+ is TEXTURE_RECTANGLE.
Interactions with OpenGL 4.2
OpenGL 4.2 supports the feature that compressed textures can be
@@ -2115,6 +2150,8 @@ Issues
+ Revision 8, June 8, 2017 - Added missing interactions with OpenGL.
Revision 7, July 14, 2016 - Clarified definition of 2D void-extent