Fix typos in ASTC
diff --git a/extensions/KHR/KHR_texture_compression_astc_hdr.txt b/extensions/KHR/KHR_texture_compression_astc_hdr.txt
index ce45b74..77fbf67 100644
--- a/extensions/KHR/KHR_texture_compression_astc_hdr.txt
+++ b/extensions/KHR/KHR_texture_compression_astc_hdr.txt
@@ -90,9 +90,10 @@
New Tokens
- Accepted by the <internalformat> parameter of CompressedTexImage2D,
- CompressedTexSubImage2D, CompressedTexImage3D, CompressedTexSubImage3D,
- TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D:
+ Accepted by the <format> parameter of CompressedTexSubImage2D and
+ CompressedTexSubImage3D, and by the <internalformat> parameter of
+ CompressedTexImage2D, CompressedTexImage3D, TexStorage2D,
+ TextureStorage2D, TexStorage3D, and TextureStorage3D:
COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
@@ -182,8 +183,8 @@
not TEXTURE_2D_ARRAY, TEXTURE_CUBE_MAP_ARRAY, or TEXTURE_3D.
An INVALID_OPERATION error is generated by CompressedTexImage3D if
- <internalformat> is TEXTURE_CUBE_MAP_ARRAY and the "Cube Map Array"
- column of table 8.19 is *not* checked, or if <internalformat> is
+ <target> is TEXTURE_CUBE_MAP_ARRAY and the "Cube Map Array"
+ column of table 8.19 is *not* checked, or if <target> is
TEXTURE_3D and the "3D Tex." column of table 8.19 is *not* checked"
Modify the fifth and sixth paragraphs on p. 170:
@@ -205,8 +206,8 @@
TEXTURE_2D_ARRAY, TEXTURE_CUBE_MAP_ARRAY, or TEXTURE_3D.
An INVALID_OPERATION error is generated by CompressedTexSubImage3D if
- <format> is TEXTURE_CUBE_MAP_ARRAY and the "Cube Map Array" column of
- table 8.19 is *not* checked, or if <format> is TEXTURE_3D and the "3D
+ <target> is TEXTURE_CUBE_MAP_ARRAY and the "Cube Map Array" column of
+ table 8.19 is *not* checked, or if <target> is TEXTURE_3D and the "3D
Tex." column of table 8.19 is *not* checked"
Modify the final error in the same section, on p. 171:
diff --git a/extensions/OES/OES_texture_compression_astc.txt b/extensions/OES/OES_texture_compression_astc.txt
index 7e103b0..db04dee 100644
--- a/extensions/OES/OES_texture_compression_astc.txt
+++ b/extensions/OES/OES_texture_compression_astc.txt
@@ -103,9 +103,9 @@
New Tokens
- Accepted by the <internalformat> parameter of CompressedTexImage2D,
- CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D,
- and TextureStorage3D:
+ Accepted by the <format> parameter of CompressedTexSubImage2D, and
+ by the <internalformat> parameter of CompressedTexImage2D, TexStorage2D,
+ TextureStorage2D, TexStorage3D, and TextureStorage3D:
COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
@@ -141,8 +141,9 @@
accepted by TexStorage2DEXT, TextureStorage2DEXT, TexStorage3DEXT and
TextureStorage3DEXT.
- Accepted by the <internalformat> parameter of CompressedTexImage3D,
- CompressedTexSubImage3D, TexStorage3D, and TextureStorage3D:
+ Accepted by the <format> parameter of CompressedTexSubImage3D, and
+ by the <internalformat> parameter of CompressedTexImage3D, TexStorage3D,
+ and TextureStorage3D:
COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
@@ -1791,7 +1792,7 @@
w00 = 16 - fs - ft + w11;
i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4;
- For 3D, simplex interpolation is used as it is cheaper than a naïve
+ For 3D, simplex interpolation is used as it is cheaper than a naïve
trilinear interpolation. First, we pick some parameters for the inter-
polation based on comparisons of the fractional parts of the texel
position: