summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Leech <devrel@oddhack.org>2017-06-08 16:31:41 -0700
committerGitHub <noreply@github.com>2017-06-08 16:31:41 -0700
commit0215aa207ef9ebedb5d0c6e62d5010d5457ae850 (patch)
tree498580db8d26c8c322cd9a0bd7931f5add9efdd1
parent2a0ff67927403b007ac02641aeea5d98b8dbf618 (diff)
parent8095e4f91fd3f182c95a4ecdc8fb6cd9a9b4e6cb (diff)
downloadopengl-registry-0215aa207ef9ebedb5d0c6e62d5010d5457ae850.zip
opengl-registry-0215aa207ef9ebedb5d0c6e62d5010d5457ae850.tar.xz
Merge pull request #66 from janharaldfredriksen-arm/add_missing_gl_interactions_for_astc
Add additional interactions with OpenGL to the ASTC extension spec
-rw-r--r--extensions/KHR/KHR_texture_compression_astc_hdr.txt39
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 7776b45..ce45b74 100644
--- a/extensions/KHR/KHR_texture_compression_astc_hdr.txt
+++ b/extensions/KHR/KHR_texture_compression_astc_hdr.txt
@@ -47,7 +47,7 @@ Status
Version
- Version 7, July 14, 2016
+ Version 8, June 8, 2017
Number
@@ -2078,6 +2078,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
@@ -2113,6 +2148,8 @@ Issues
Revision History
+ Revision 8, June 8, 2017 - Added missing interactions with OpenGL.
+
Revision 7, July 14, 2016 - Clarified definition of 2D void-extent
blocks.