summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Harald Fredriksen <jan-harald.fredriksen@arm.com>2017-05-19 13:41:54 +0200
committerJan-Harald Fredriksen <jan-harald.fredriksen@arm.com>2017-06-08 09:57:43 +0200
commit8095e4f91fd3f182c95a4ecdc8fb6cd9a9b4e6cb (patch)
tree8e31f6a2488266649cd9dab224fb57e27543c42a
parent8f4fd00cc90c38aeb7674f4b108d72e402db85b5 (diff)
downloadopengl-registry-8095e4f91fd3f182c95a4ecdc8fb6cd9a9b4e6cb.zip
opengl-registry-8095e4f91fd3f182c95a4ecdc8fb6cd9a9b4e6cb.tar.xz
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 80f7655..248f1aa 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
@@ -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 History
+ Revision 8, June 8, 2017 - Added missing interactions with OpenGL.
+
Revision 7, July 14, 2016 - Clarified definition of 2D void-extent
blocks.